Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterJobsServiceServer(s grpc.ServiceRegistrar, srv JobsServiceServer)
- func RegisterReportServiceServer(s grpc.ServiceRegistrar, srv ReportServiceServer)
- func RegisterUserProfileServiceServer(s grpc.ServiceRegistrar, srv UserProfileServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type CreateJobRequest
- func (*CreateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJobRequest) GetDescription() string
- func (x *CreateJobRequest) GetJobData() string
- func (x *CreateJobRequest) GetJobType() JobType
- func (x *CreateJobRequest) GetName() string
- func (x *CreateJobRequest) GetScheduleTime() *timestamppb.Timestamp
- func (*CreateJobRequest) ProtoMessage()
- func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
- func (x *CreateJobRequest) Reset()
- func (x *CreateJobRequest) String() string
- type CreateJobResponse
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetRole() RoleType
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetMessage() string
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type DeleteJobRequest
- type DeleteJobResponse
- type Empty
- type GetJobRequest
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetEmail() string
- func (x *GetUserResponse) GetId() int32
- func (x *GetUserResponse) GetName() string
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetCreatedTime() *timestamppb.Timestamp
- func (x *Job) GetDescription() string
- func (x *Job) GetId() string
- func (x *Job) GetJobData() string
- func (x *Job) GetJobType() JobType
- func (x *Job) GetName() string
- func (x *Job) GetScheduleTime() *timestamppb.Timestamp
- func (x *Job) GetStatus() JobStatus
- func (x *Job) GetUpdatedTime() *timestamppb.Timestamp
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- type JobStatus
- type JobType
- type JobsServiceClient
- type JobsServiceServer
- type ListJobsRequest
- func (*ListJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsRequest) GetPage() int64
- func (x *ListJobsRequest) GetSize() int64
- func (*ListJobsRequest) ProtoMessage()
- func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListJobsRequest) Reset()
- func (x *ListJobsRequest) String() string
- type ListJobsResponse
- func (*ListJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsResponse) GetHasMore() bool
- func (x *ListJobsResponse) GetJobs() []*Job
- func (x *ListJobsResponse) GetPage() int64
- func (x *ListJobsResponse) GetSize() int64
- func (x *ListJobsResponse) GetTotalCount() int64
- func (x *ListJobsResponse) GetTotalPages() int64
- func (*ListJobsResponse) ProtoMessage()
- func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListJobsResponse) Reset()
- func (x *ListJobsResponse) String() string
- type ListReportResponse
- func (*ListReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportResponse) GetHasMore() bool
- func (x *ListReportResponse) GetPage() int64
- func (x *ListReportResponse) GetReports() []*Report
- func (x *ListReportResponse) GetSize() int64
- func (x *ListReportResponse) GetTotalCount() int64
- func (x *ListReportResponse) GetTotalPages() int64
- func (*ListReportResponse) ProtoMessage()
- func (x *ListReportResponse) ProtoReflect() protoreflect.Message
- func (x *ListReportResponse) Reset()
- func (x *ListReportResponse) String() string
- type ListReportsRequest
- func (*ListReportsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportsRequest) GetPage() int64
- func (x *ListReportsRequest) GetSize() int64
- func (*ListReportsRequest) ProtoMessage()
- func (x *ListReportsRequest) ProtoReflect() protoreflect.Message
- func (x *ListReportsRequest) Reset()
- func (x *ListReportsRequest) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetPage() int64
- func (x *ListUsersRequest) GetSize() int64
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetHasMore() bool
- func (x *ListUsersResponse) GetPage() int64
- func (x *ListUsersResponse) GetSize() int64
- func (x *ListUsersResponse) GetTotalCount() int64
- func (x *ListUsersResponse) GetTotalPages() int64
- func (x *ListUsersResponse) GetUsers() []*GetUserResponse
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (x *ListUsersResponse) String() string
- type LogOutRequest
- type LogOutResponse
- type LoginUserRequest
- func (*LoginUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginUserRequest) GetEmail() string
- func (x *LoginUserRequest) GetPassword() string
- func (*LoginUserRequest) ProtoMessage()
- func (x *LoginUserRequest) ProtoReflect() protoreflect.Message
- func (x *LoginUserRequest) Reset()
- func (x *LoginUserRequest) String() string
- type LoginUserResponse
- func (*LoginUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginUserResponse) GetAccessToken() string
- func (x *LoginUserResponse) GetAccessTokenAge() int64
- func (x *LoginUserResponse) GetRefreshToken() string
- func (x *LoginUserResponse) GetRefreshTokenAge() int64
- func (*LoginUserResponse) ProtoMessage()
- func (x *LoginUserResponse) ProtoReflect() protoreflect.Message
- func (x *LoginUserResponse) Reset()
- func (x *LoginUserResponse) String() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetAccessTokenAge() int64
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type Report
- func (*Report) Descriptor() ([]byte, []int)deprecated
- func (x *Report) GetCreatedTime() *timestamppb.Timestamp
- func (x *Report) GetId() string
- func (x *Report) GetReportData() string
- func (x *Report) GetTopic() string
- func (*Report) ProtoMessage()
- func (x *Report) ProtoReflect() protoreflect.Message
- func (x *Report) Reset()
- func (x *Report) String() string
- type ReportServiceClient
- type ReportServiceServer
- type RoleType
- type UnimplementedJobsServiceServer
- func (UnimplementedJobsServiceServer) CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error)
- func (UnimplementedJobsServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
- func (UnimplementedJobsServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error)
- func (UnimplementedJobsServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
- func (UnimplementedJobsServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error)
- type UnimplementedReportServiceServer
- type UnimplementedUserProfileServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServiceServer) LogOutUser(context.Context, *LogOutRequest) (*LogOutResponse, error)
- func (UnimplementedUserServiceServer) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
- func (UnimplementedUserServiceServer) RefreshAccessToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- type UnsafeJobsServiceServer
- type UnsafeReportServiceServer
- type UnsafeUserProfileServiceServer
- type UnsafeUserServiceServer
- type UpdateJobRequest
- func (*UpdateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJobRequest) GetDescription() string
- func (x *UpdateJobRequest) GetId() string
- func (x *UpdateJobRequest) GetJobData() string
- func (x *UpdateJobRequest) GetJobType() JobType
- func (x *UpdateJobRequest) GetName() string
- func (x *UpdateJobRequest) GetScheduleTime() *timestamppb.Timestamp
- func (*UpdateJobRequest) ProtoMessage()
- func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateJobRequest) Reset()
- func (x *UpdateJobRequest) String() string
- type UpdateJobResponse
- type UserProfileServiceClient
- type UserProfileServiceServer
- type UserServiceClient
- type UserServiceServer
Constants ¶
const ( JobsService_CreateJob_FullMethodName = "/proto.JobsService/CreateJob" JobsService_GetJob_FullMethodName = "/proto.JobsService/GetJob" JobsService_ListJobs_FullMethodName = "/proto.JobsService/ListJobs" JobsService_UpdateJob_FullMethodName = "/proto.JobsService/UpdateJob" JobsService_DeleteJob_FullMethodName = "/proto.JobsService/DeleteJob" )
const ( UserService_CreateUser_FullMethodName = "/proto.UserService/CreateUser" UserService_LoginUser_FullMethodName = "/proto.UserService/LoginUser" UserService_RefreshAccessToken_FullMethodName = "/proto.UserService/RefreshAccessToken" UserService_LogOutUser_FullMethodName = "/proto.UserService/LogOutUser" )
const ( UserProfileService_GetUser_FullMethodName = "/proto.UserProfileService/GetUser" UserProfileService_ListUsers_FullMethodName = "/proto.UserProfileService/ListUsers" )
const (
ReportService_ListReports_FullMethodName = "/proto.ReportService/ListReports"
)
Variables ¶
var ( JobStatus_name = map[int32]string{ 0: "JOB_STATUS_UNKNOWN", 1: "JOB_STATUS_PENDING", 2: "JOB_STATUS_SCHEDULED", 3: "JOB_STATUS_RUNNING", 4: "JOB_STATUS_SUCCEEDED", 5: "JOB_STATUS_FAILED", } JobStatus_value = map[string]int32{ "JOB_STATUS_UNKNOWN": 0, "JOB_STATUS_PENDING": 1, "JOB_STATUS_SCHEDULED": 2, "JOB_STATUS_RUNNING": 3, "JOB_STATUS_SUCCEEDED": 4, "JOB_STATUS_FAILED": 5, } )
Enum value maps for JobStatus.
var ( JobType_name = map[int32]string{ 0: "JOB_TYPE_EMAIL", 1: "JOB_TYPE_SMS", } JobType_value = map[string]int32{ "JOB_TYPE_EMAIL": 0, "JOB_TYPE_SMS": 1, } )
Enum value maps for JobType.
var ( RoleType_name = map[int32]string{ 0: "ROLETYPE_ADMIN", 1: "ROLETYPE_CUSTOMER", } RoleType_value = map[string]int32{ "ROLETYPE_ADMIN": 0, "ROLETYPE_CUSTOMER": 1, } )
Enum value maps for RoleType.
var File_job_proto protoreflect.FileDescriptor
var File_report_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
var JobsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.JobsService", HandlerType: (*JobsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateJob", Handler: _JobsService_CreateJob_Handler, }, { MethodName: "GetJob", Handler: _JobsService_GetJob_Handler, }, { MethodName: "ListJobs", Handler: _JobsService_ListJobs_Handler, }, { MethodName: "UpdateJob", Handler: _JobsService_UpdateJob_Handler, }, { MethodName: "DeleteJob", Handler: _JobsService_DeleteJob_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "job.proto", }
JobsService_ServiceDesc is the grpc.ServiceDesc for JobsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ReportService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.ReportService", HandlerType: (*ReportServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListReports", Handler: _ReportService_ListReports_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "report.proto", }
ReportService_ServiceDesc is the grpc.ServiceDesc for ReportService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.UserProfileService", HandlerType: (*UserProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUser", Handler: _UserProfileService_GetUser_Handler, }, { MethodName: "ListUsers", Handler: _UserProfileService_ListUsers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user.proto", }
UserProfileService_ServiceDesc is the grpc.ServiceDesc for UserProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "LoginUser", Handler: _UserService_LoginUser_Handler, }, { MethodName: "RefreshAccessToken", Handler: _UserService_RefreshAccessToken_Handler, }, { MethodName: "LogOutUser", Handler: _UserService_LogOutUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterJobsServiceServer ¶
func RegisterJobsServiceServer(s grpc.ServiceRegistrar, srv JobsServiceServer)
func RegisterReportServiceServer ¶
func RegisterReportServiceServer(s grpc.ServiceRegistrar, srv ReportServiceServer)
func RegisterUserProfileServiceServer ¶
func RegisterUserProfileServiceServer(s grpc.ServiceRegistrar, srv UserProfileServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type CreateJobRequest ¶
type CreateJobRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` JobType JobType `protobuf:"varint,4,opt,name=job_type,json=jobType,proto3,enum=proto.JobType" json:"job_type,omitempty"` JobData string `protobuf:"bytes,5,opt,name=job_data,json=jobData,proto3" json:"job_data,omitempty"` // contains filtered or unexported fields }
func (*CreateJobRequest) Descriptor
deprecated
func (*CreateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.
func (*CreateJobRequest) GetDescription ¶
func (x *CreateJobRequest) GetDescription() string
func (*CreateJobRequest) GetJobData ¶
func (x *CreateJobRequest) GetJobData() string
func (*CreateJobRequest) GetJobType ¶
func (x *CreateJobRequest) GetJobType() JobType
func (*CreateJobRequest) GetName ¶
func (x *CreateJobRequest) GetName() string
func (*CreateJobRequest) GetScheduleTime ¶
func (x *CreateJobRequest) GetScheduleTime() *timestamppb.Timestamp
func (*CreateJobRequest) ProtoMessage ¶
func (*CreateJobRequest) ProtoMessage()
func (*CreateJobRequest) ProtoReflect ¶
func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
func (*CreateJobRequest) Reset ¶
func (x *CreateJobRequest) Reset()
func (*CreateJobRequest) String ¶
func (x *CreateJobRequest) String() string
type CreateJobResponse ¶
type CreateJobResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateJobResponse) Descriptor
deprecated
func (*CreateJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobResponse.ProtoReflect.Descriptor instead.
func (*CreateJobResponse) GetId ¶
func (x *CreateJobResponse) GetId() string
func (*CreateJobResponse) ProtoMessage ¶
func (*CreateJobResponse) ProtoMessage()
func (*CreateJobResponse) ProtoReflect ¶
func (x *CreateJobResponse) ProtoReflect() protoreflect.Message
func (*CreateJobResponse) Reset ¶
func (x *CreateJobResponse) Reset()
func (*CreateJobResponse) String ¶
func (x *CreateJobResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"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"` Role RoleType `protobuf:"varint,4,opt,name=role,proto3,enum=proto.RoleType" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetRole ¶
func (x *CreateUserRequest) GetRole() RoleType
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetMessage ¶
func (x *CreateUserResponse) GetMessage() string
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteJobRequest ¶
type DeleteJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteJobRequest) Descriptor
deprecated
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetId ¶
func (x *DeleteJobRequest) GetId() string
func (*DeleteJobRequest) ProtoMessage ¶
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect ¶
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset ¶
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String ¶
func (x *DeleteJobRequest) String() string
type DeleteJobResponse ¶
type DeleteJobResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteJobResponse) Descriptor
deprecated
func (*DeleteJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobResponse.ProtoReflect.Descriptor instead.
func (*DeleteJobResponse) GetMessage ¶
func (x *DeleteJobResponse) GetMessage() string
func (*DeleteJobResponse) ProtoMessage ¶
func (*DeleteJobResponse) ProtoMessage()
func (*DeleteJobResponse) ProtoReflect ¶
func (x *DeleteJobResponse) ProtoReflect() protoreflect.Message
func (*DeleteJobResponse) Reset ¶
func (x *DeleteJobResponse) Reset()
func (*DeleteJobResponse) String ¶
func (x *DeleteJobResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GetJobRequest ¶
type GetJobRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetJobRequest) Descriptor
deprecated
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetId ¶
func (x *GetJobRequest) GetId() string
func (*GetJobRequest) ProtoMessage ¶
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect ¶
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset ¶
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String ¶
func (x *GetJobRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct {
// contains filtered or unexported fields
}
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetEmail ¶
func (x *GetUserResponse) GetEmail() string
func (*GetUserResponse) GetId ¶
func (x *GetUserResponse) GetId() int32
func (*GetUserResponse) GetName ¶
func (x *GetUserResponse) GetName() string
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type Job ¶
type Job 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"` ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` Status JobStatus `protobuf:"varint,7,opt,name=status,proto3,enum=proto.JobStatus" json:"status,omitempty"` JobType JobType `protobuf:"varint,8,opt,name=job_type,json=jobType,proto3,enum=proto.JobType" json:"job_type,omitempty"` JobData string `protobuf:"bytes,9,opt,name=job_data,json=jobData,proto3" json:"job_data,omitempty"` // contains filtered or unexported fields }
func (*Job) Descriptor
deprecated
func (*Job) GetCreatedTime ¶
func (x *Job) GetCreatedTime() *timestamppb.Timestamp
func (*Job) GetDescription ¶
func (*Job) GetJobData ¶
func (*Job) GetJobType ¶
func (*Job) GetScheduleTime ¶
func (x *Job) GetScheduleTime() *timestamppb.Timestamp
func (*Job) GetUpdatedTime ¶
func (x *Job) GetUpdatedTime() *timestamppb.Timestamp
func (*Job) ProtoMessage ¶
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶
func (x *Job) ProtoReflect() protoreflect.Message
type JobStatus ¶
type JobStatus int32
func (JobStatus) Descriptor ¶
func (JobStatus) Descriptor() protoreflect.EnumDescriptor
func (JobStatus) EnumDescriptor
deprecated
func (JobStatus) Number ¶
func (x JobStatus) Number() protoreflect.EnumNumber
func (JobStatus) Type ¶
func (JobStatus) Type() protoreflect.EnumType
type JobType ¶
type JobType int32
func (JobType) Descriptor ¶
func (JobType) Descriptor() protoreflect.EnumDescriptor
func (JobType) EnumDescriptor
deprecated
func (JobType) Number ¶
func (x JobType) Number() protoreflect.EnumNumber
func (JobType) Type ¶
func (JobType) Type() protoreflect.EnumType
type JobsServiceClient ¶
type JobsServiceClient interface { CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*CreateJobResponse, error) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*UpdateJobResponse, error) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*DeleteJobResponse, error) }
JobsServiceClient is the client API for JobsService 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 NewJobsServiceClient ¶
func NewJobsServiceClient(cc grpc.ClientConnInterface) JobsServiceClient
type JobsServiceServer ¶
type JobsServiceServer interface { CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error) GetJob(context.Context, *GetJobRequest) (*Job, error) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error) // contains filtered or unexported methods }
JobsServiceServer is the server API for JobsService service. All implementations must embed UnimplementedJobsServiceServer for forward compatibility
type ListJobsRequest ¶
type ListJobsRequest struct { Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListJobsRequest) Descriptor
deprecated
func (*ListJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.
func (*ListJobsRequest) GetPage ¶
func (x *ListJobsRequest) GetPage() int64
func (*ListJobsRequest) GetSize ¶
func (x *ListJobsRequest) GetSize() int64
func (*ListJobsRequest) ProtoMessage ¶
func (*ListJobsRequest) ProtoMessage()
func (*ListJobsRequest) ProtoReflect ¶
func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
func (*ListJobsRequest) Reset ¶
func (x *ListJobsRequest) Reset()
func (*ListJobsRequest) String ¶
func (x *ListJobsRequest) String() string
type ListJobsResponse ¶
type ListJobsResponse struct { TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` TotalPages int64 `protobuf:"varint,2,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` Jobs []*Job `protobuf:"bytes,6,rep,name=jobs,proto3" json:"jobs,omitempty"` // contains filtered or unexported fields }
func (*ListJobsResponse) Descriptor
deprecated
func (*ListJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.
func (*ListJobsResponse) GetHasMore ¶
func (x *ListJobsResponse) GetHasMore() bool
func (*ListJobsResponse) GetJobs ¶
func (x *ListJobsResponse) GetJobs() []*Job
func (*ListJobsResponse) GetPage ¶
func (x *ListJobsResponse) GetPage() int64
func (*ListJobsResponse) GetSize ¶
func (x *ListJobsResponse) GetSize() int64
func (*ListJobsResponse) GetTotalCount ¶
func (x *ListJobsResponse) GetTotalCount() int64
func (*ListJobsResponse) GetTotalPages ¶
func (x *ListJobsResponse) GetTotalPages() int64
func (*ListJobsResponse) ProtoMessage ¶
func (*ListJobsResponse) ProtoMessage()
func (*ListJobsResponse) ProtoReflect ¶
func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
func (*ListJobsResponse) Reset ¶
func (x *ListJobsResponse) Reset()
func (*ListJobsResponse) String ¶
func (x *ListJobsResponse) String() string
type ListReportResponse ¶
type ListReportResponse struct { TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` TotalPages int64 `protobuf:"varint,2,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` Reports []*Report `protobuf:"bytes,6,rep,name=reports,proto3" json:"reports,omitempty"` // contains filtered or unexported fields }
func (*ListReportResponse) Descriptor
deprecated
func (*ListReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReportResponse.ProtoReflect.Descriptor instead.
func (*ListReportResponse) GetHasMore ¶
func (x *ListReportResponse) GetHasMore() bool
func (*ListReportResponse) GetPage ¶
func (x *ListReportResponse) GetPage() int64
func (*ListReportResponse) GetReports ¶
func (x *ListReportResponse) GetReports() []*Report
func (*ListReportResponse) GetSize ¶
func (x *ListReportResponse) GetSize() int64
func (*ListReportResponse) GetTotalCount ¶
func (x *ListReportResponse) GetTotalCount() int64
func (*ListReportResponse) GetTotalPages ¶
func (x *ListReportResponse) GetTotalPages() int64
func (*ListReportResponse) ProtoMessage ¶
func (*ListReportResponse) ProtoMessage()
func (*ListReportResponse) ProtoReflect ¶
func (x *ListReportResponse) ProtoReflect() protoreflect.Message
func (*ListReportResponse) Reset ¶
func (x *ListReportResponse) Reset()
func (*ListReportResponse) String ¶
func (x *ListReportResponse) String() string
type ListReportsRequest ¶
type ListReportsRequest struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListReportsRequest) Descriptor
deprecated
func (*ListReportsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReportsRequest.ProtoReflect.Descriptor instead.
func (*ListReportsRequest) GetPage ¶
func (x *ListReportsRequest) GetPage() int64
func (*ListReportsRequest) GetSize ¶
func (x *ListReportsRequest) GetSize() int64
func (*ListReportsRequest) ProtoMessage ¶
func (*ListReportsRequest) ProtoMessage()
func (*ListReportsRequest) ProtoReflect ¶
func (x *ListReportsRequest) ProtoReflect() protoreflect.Message
func (*ListReportsRequest) Reset ¶
func (x *ListReportsRequest) Reset()
func (*ListReportsRequest) String ¶
func (x *ListReportsRequest) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) GetPage ¶
func (x *ListUsersRequest) GetPage() int64
func (*ListUsersRequest) GetSize ¶
func (x *ListUsersRequest) GetSize() int64
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` TotalPages int64 `protobuf:"varint,2,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` Users []*GetUserResponse `protobuf:"bytes,6,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetHasMore ¶
func (x *ListUsersResponse) GetHasMore() bool
func (*ListUsersResponse) GetPage ¶
func (x *ListUsersResponse) GetPage() int64
func (*ListUsersResponse) GetSize ¶
func (x *ListUsersResponse) GetSize() int64
func (*ListUsersResponse) GetTotalCount ¶
func (x *ListUsersResponse) GetTotalCount() int64
func (*ListUsersResponse) GetTotalPages ¶
func (x *ListUsersResponse) GetTotalPages() int64
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*GetUserResponse
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) String() string
type LogOutRequest ¶
type LogOutRequest struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*LogOutRequest) Descriptor
deprecated
func (*LogOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogOutRequest.ProtoReflect.Descriptor instead.
func (*LogOutRequest) GetRefreshToken ¶
func (x *LogOutRequest) GetRefreshToken() string
func (*LogOutRequest) ProtoMessage ¶
func (*LogOutRequest) ProtoMessage()
func (*LogOutRequest) ProtoReflect ¶
func (x *LogOutRequest) ProtoReflect() protoreflect.Message
func (*LogOutRequest) Reset ¶
func (x *LogOutRequest) Reset()
func (*LogOutRequest) String ¶
func (x *LogOutRequest) String() string
type LogOutResponse ¶
type LogOutResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LogOutResponse) Descriptor
deprecated
func (*LogOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogOutResponse.ProtoReflect.Descriptor instead.
func (*LogOutResponse) GetMessage ¶
func (x *LogOutResponse) GetMessage() string
func (*LogOutResponse) ProtoMessage ¶
func (*LogOutResponse) ProtoMessage()
func (*LogOutResponse) ProtoReflect ¶
func (x *LogOutResponse) ProtoReflect() protoreflect.Message
func (*LogOutResponse) Reset ¶
func (x *LogOutResponse) Reset()
func (*LogOutResponse) String ¶
func (x *LogOutResponse) String() string
type LoginUserRequest ¶
type LoginUserRequest 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"` // contains filtered or unexported fields }
func (*LoginUserRequest) Descriptor
deprecated
func (*LoginUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginUserRequest.ProtoReflect.Descriptor instead.
func (*LoginUserRequest) GetEmail ¶
func (x *LoginUserRequest) GetEmail() string
func (*LoginUserRequest) GetPassword ¶
func (x *LoginUserRequest) GetPassword() string
func (*LoginUserRequest) ProtoMessage ¶
func (*LoginUserRequest) ProtoMessage()
func (*LoginUserRequest) ProtoReflect ¶
func (x *LoginUserRequest) ProtoReflect() protoreflect.Message
func (*LoginUserRequest) Reset ¶
func (x *LoginUserRequest) Reset()
func (*LoginUserRequest) String ¶
func (x *LoginUserRequest) String() string
type LoginUserResponse ¶
type LoginUserResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` AccessTokenAge int64 `protobuf:"varint,2,opt,name=access_token_age,json=accessTokenAge,proto3" json:"access_token_age,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` RefreshTokenAge int64 `protobuf:"varint,4,opt,name=refresh_token_age,json=refreshTokenAge,proto3" json:"refresh_token_age,omitempty"` // contains filtered or unexported fields }
func (*LoginUserResponse) Descriptor
deprecated
func (*LoginUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginUserResponse.ProtoReflect.Descriptor instead.
func (*LoginUserResponse) GetAccessToken ¶
func (x *LoginUserResponse) GetAccessToken() string
func (*LoginUserResponse) GetAccessTokenAge ¶
func (x *LoginUserResponse) GetAccessTokenAge() int64
func (*LoginUserResponse) GetRefreshToken ¶
func (x *LoginUserResponse) GetRefreshToken() string
func (*LoginUserResponse) GetRefreshTokenAge ¶
func (x *LoginUserResponse) GetRefreshTokenAge() int64
func (*LoginUserResponse) ProtoMessage ¶
func (*LoginUserResponse) ProtoMessage()
func (*LoginUserResponse) ProtoReflect ¶
func (x *LoginUserResponse) ProtoReflect() protoreflect.Message
func (*LoginUserResponse) Reset ¶
func (x *LoginUserResponse) Reset()
func (*LoginUserResponse) String ¶
func (x *LoginUserResponse) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetRefreshToken ¶
func (x *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` AccessTokenAge int64 `protobuf:"varint,2,opt,name=access_token_age,json=accessTokenAge,proto3" json:"access_token_age,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenResponse) Descriptor
deprecated
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetAccessToken ¶
func (x *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetAccessTokenAge ¶
func (x *RefreshTokenResponse) GetAccessTokenAge() int64
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (x *RefreshTokenResponse) String() string
type Report ¶
type Report struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` ReportData string `protobuf:"bytes,4,opt,name=report_data,json=reportData,proto3" json:"report_data,omitempty"` // contains filtered or unexported fields }
func (*Report) Descriptor
deprecated
func (*Report) GetCreatedTime ¶
func (x *Report) GetCreatedTime() *timestamppb.Timestamp
func (*Report) GetReportData ¶
func (*Report) ProtoMessage ¶
func (*Report) ProtoMessage()
func (*Report) ProtoReflect ¶
func (x *Report) ProtoReflect() protoreflect.Message
type ReportServiceClient ¶
type ReportServiceClient interface {
ListReports(ctx context.Context, in *ListReportsRequest, opts ...grpc.CallOption) (*ListReportResponse, error)
}
ReportServiceClient is the client API for ReportService 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 NewReportServiceClient ¶
func NewReportServiceClient(cc grpc.ClientConnInterface) ReportServiceClient
type ReportServiceServer ¶
type ReportServiceServer interface { ListReports(context.Context, *ListReportsRequest) (*ListReportResponse, error) // contains filtered or unexported methods }
ReportServiceServer is the server API for ReportService service. All implementations must embed UnimplementedReportServiceServer for forward compatibility
type RoleType ¶
type RoleType int32
func (RoleType) Descriptor ¶
func (RoleType) Descriptor() protoreflect.EnumDescriptor
func (RoleType) EnumDescriptor
deprecated
func (RoleType) Number ¶
func (x RoleType) Number() protoreflect.EnumNumber
func (RoleType) Type ¶
func (RoleType) Type() protoreflect.EnumType
type UnimplementedJobsServiceServer ¶
type UnimplementedJobsServiceServer struct { }
UnimplementedJobsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedJobsServiceServer) CreateJob ¶
func (UnimplementedJobsServiceServer) CreateJob(context.Context, *CreateJobRequest) (*CreateJobResponse, error)
func (UnimplementedJobsServiceServer) DeleteJob ¶
func (UnimplementedJobsServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*DeleteJobResponse, error)
func (UnimplementedJobsServiceServer) GetJob ¶
func (UnimplementedJobsServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error)
func (UnimplementedJobsServiceServer) ListJobs ¶
func (UnimplementedJobsServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
func (UnimplementedJobsServiceServer) UpdateJob ¶
func (UnimplementedJobsServiceServer) UpdateJob(context.Context, *UpdateJobRequest) (*UpdateJobResponse, error)
type UnimplementedReportServiceServer ¶
type UnimplementedReportServiceServer struct { }
UnimplementedReportServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedReportServiceServer) ListReports ¶
func (UnimplementedReportServiceServer) ListReports(context.Context, *ListReportsRequest) (*ListReportResponse, error)
type UnimplementedUserProfileServiceServer ¶
type UnimplementedUserProfileServiceServer struct { }
UnimplementedUserProfileServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserProfileServiceServer) GetUser ¶
func (UnimplementedUserProfileServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserProfileServiceServer) ListUsers ¶
func (UnimplementedUserProfileServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServiceServer) LogOutUser ¶
func (UnimplementedUserServiceServer) LogOutUser(context.Context, *LogOutRequest) (*LogOutResponse, error)
func (UnimplementedUserServiceServer) LoginUser ¶
func (UnimplementedUserServiceServer) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
func (UnimplementedUserServiceServer) RefreshAccessToken ¶
func (UnimplementedUserServiceServer) RefreshAccessToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
type UnsafeJobsServiceServer ¶
type UnsafeJobsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeJobsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JobsServiceServer will result in compilation errors.
type UnsafeReportServiceServer ¶
type UnsafeReportServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReportServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReportServiceServer will result in compilation errors.
type UnsafeUserProfileServiceServer ¶
type UnsafeUserProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserProfileServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateJobRequest ¶
type UpdateJobRequest 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"` ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` JobType JobType `protobuf:"varint,5,opt,name=job_type,json=jobType,proto3,enum=proto.JobType" json:"job_type,omitempty"` JobData string `protobuf:"bytes,6,opt,name=job_data,json=jobData,proto3" json:"job_data,omitempty"` // contains filtered or unexported fields }
func (*UpdateJobRequest) Descriptor
deprecated
func (*UpdateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobRequest) GetDescription ¶
func (x *UpdateJobRequest) GetDescription() string
func (*UpdateJobRequest) GetId ¶
func (x *UpdateJobRequest) GetId() string
func (*UpdateJobRequest) GetJobData ¶
func (x *UpdateJobRequest) GetJobData() string
func (*UpdateJobRequest) GetJobType ¶
func (x *UpdateJobRequest) GetJobType() JobType
func (*UpdateJobRequest) GetName ¶
func (x *UpdateJobRequest) GetName() string
func (*UpdateJobRequest) GetScheduleTime ¶
func (x *UpdateJobRequest) GetScheduleTime() *timestamppb.Timestamp
func (*UpdateJobRequest) ProtoMessage ¶
func (*UpdateJobRequest) ProtoMessage()
func (*UpdateJobRequest) ProtoReflect ¶
func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobRequest) Reset ¶
func (x *UpdateJobRequest) Reset()
func (*UpdateJobRequest) String ¶
func (x *UpdateJobRequest) String() string
type UpdateJobResponse ¶
type UpdateJobResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateJobResponse) Descriptor
deprecated
func (*UpdateJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobResponse.ProtoReflect.Descriptor instead.
func (*UpdateJobResponse) GetMessage ¶
func (x *UpdateJobResponse) GetMessage() string
func (*UpdateJobResponse) ProtoMessage ¶
func (*UpdateJobResponse) ProtoMessage()
func (*UpdateJobResponse) ProtoReflect ¶
func (x *UpdateJobResponse) ProtoReflect() protoreflect.Message
func (*UpdateJobResponse) Reset ¶
func (x *UpdateJobResponse) Reset()
func (*UpdateJobResponse) String ¶
func (x *UpdateJobResponse) String() string
type UserProfileServiceClient ¶
type UserProfileServiceClient interface { GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) }
UserProfileServiceClient is the client API for UserProfileService 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 NewUserProfileServiceClient ¶
func NewUserProfileServiceClient(cc grpc.ClientConnInterface) UserProfileServiceClient
type UserProfileServiceServer ¶
type UserProfileServiceServer interface { GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) // contains filtered or unexported methods }
UserProfileServiceServer is the server API for UserProfileService service. All implementations must embed UnimplementedUserProfileServiceServer for forward compatibility
type UserServiceClient ¶
type UserServiceClient interface { CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) LoginUser(ctx context.Context, in *LoginUserRequest, opts ...grpc.CallOption) (*LoginUserResponse, error) RefreshAccessToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error) LogOutUser(ctx context.Context, in *LogOutRequest, opts ...grpc.CallOption) (*LogOutResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error) RefreshAccessToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) LogOutUser(context.Context, *LogOutRequest) (*LogOutResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility