protobuf

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package protobuf is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	MetaService_HealthCheck_FullMethodName            = "/protobuf.MetaService/healthCheck"
	MetaService_GetFrontendConfig_FullMethodName      = "/protobuf.MetaService/getFrontendConfig"
	MetaService_GetSemesters_FullMethodName           = "/protobuf.MetaService/getSemesters"
	MetaService_GetNotifications_FullMethodName       = "/protobuf.MetaService/getNotifications"
	MetaService_GetServerNotifications_FullMethodName = "/protobuf.MetaService/getServerNotifications"
	MetaService_GetInfoPage_FullMethodName            = "/protobuf.MetaService/getInfoPage"
	MetaService_ListInfoPages_FullMethodName          = "/protobuf.MetaService/listInfoPages"
)
View Source
const (
	UserService_GetUser_FullMethodName            = "/protobuf.UserService/getUser"
	UserService_UpdateUserSettings_FullMethodName = "/protobuf.UserService/updateUserSettings"
	UserService_ExportPersonalData_FullMethodName = "/protobuf.UserService/exportPersonalData"
	UserService_ResetPassword_FullMethodName      = "/protobuf.UserService/resetPassword"
	UserService_GetLoginOptions_FullMethodName    = "/protobuf.UserService/getLoginOptions"
)
View Source
const (
	CourseService_GetPublicCourses_FullMethodName = "/protobuf.CourseService/getPublicCourses"
	CourseService_GetCourseBySlug_FullMethodName  = "/protobuf.CourseService/getCourseBySlug"
	CourseService_GetUserCourses_FullMethodName   = "/protobuf.CourseService/getUserCourses"
	CourseService_GetPinnedCourses_FullMethodName = "/protobuf.CourseService/getPinnedCourses"
	CourseService_GetLiveCourses_FullMethodName   = "/protobuf.CourseService/getLiveCourses"
	CourseService_GetPinForCourse_FullMethodName  = "/protobuf.CourseService/getPinForCourse"
	CourseService_PinCourse_FullMethodName        = "/protobuf.CourseService/pinCourse"
)
View Source
const (
	StreamService_GetStream_FullMethodName         = "/protobuf.StreamService/getStream"
	StreamService_GetVideoSections_FullMethodName  = "/protobuf.StreamService/getVideoSections"
	StreamService_GetStreamPlaylist_FullMethodName = "/protobuf.StreamService/getStreamPlaylist"
	StreamService_GetSubtitles_FullMethodName      = "/protobuf.StreamService/getSubtitles"
	StreamService_GetThumbs_FullMethodName         = "/protobuf.StreamService/getThumbs"
	StreamService_GetProgressBatch_FullMethodName  = "/protobuf.StreamService/getProgressBatch"
	StreamService_UpdateProgress_FullMethodName    = "/protobuf.StreamService/updateProgress"
	StreamService_AddBookmark_FullMethodName       = "/protobuf.StreamService/addBookmark"
	StreamService_GetBookmarks_FullMethodName      = "/protobuf.StreamService/getBookmarks"
	StreamService_UpdateBookmark_FullMethodName    = "/protobuf.StreamService/updateBookmark"
	StreamService_DeleteBookmark_FullMethodName    = "/protobuf.StreamService/deleteBookmark"
)
View Source
const (
	AdminService_ListRunners_FullMethodName                         = "/protobuf.AdminService/listRunners"
	AdminService_DeleteRunner_FullMethodName                        = "/protobuf.AdminService/deleteRunner"
	AdminService_ListStaff_FullMethodName                           = "/protobuf.AdminService/listStaff"
	AdminService_SearchUsers_FullMethodName                         = "/protobuf.AdminService/searchUsers"
	AdminService_CreateUser_FullMethodName                          = "/protobuf.AdminService/createUser"
	AdminService_UpdateUserRole_FullMethodName                      = "/protobuf.AdminService/updateUserRole"
	AdminService_DeleteUser_FullMethodName                          = "/protobuf.AdminService/deleteUser"
	AdminService_ListInfoPagesAdmin_FullMethodName                  = "/protobuf.AdminService/listInfoPagesAdmin"
	AdminService_CreateInfoPage_FullMethodName                      = "/protobuf.AdminService/createInfoPage"
	AdminService_UpdateInfoPage_FullMethodName                      = "/protobuf.AdminService/updateInfoPage"
	AdminService_DeleteInfoPage_FullMethodName                      = "/protobuf.AdminService/deleteInfoPage"
	AdminService_ListIntegrations_FullMethodName                    = "/protobuf.AdminService/listIntegrations"
	AdminService_CreateIntegration_FullMethodName                   = "/protobuf.AdminService/createIntegration"
	AdminService_RotateIntegrationKey_FullMethodName                = "/protobuf.AdminService/rotateIntegrationKey"
	AdminService_RevokeIntegrationKey_FullMethodName                = "/protobuf.AdminService/revokeIntegrationKey"
	AdminService_ListWorkers_FullMethodName                         = "/protobuf.AdminService/listWorkers"
	AdminService_DeleteWorker_FullMethodName                        = "/protobuf.AdminService/deleteWorker"
	AdminService_GetMaintenanceThumbnailStatus_FullMethodName       = "/protobuf.AdminService/getMaintenanceThumbnailStatus"
	AdminService_GenerateMaintenanceThumbnails_FullMethodName       = "/protobuf.AdminService/generateMaintenanceThumbnails"
	AdminService_ListMaintenanceCronJobs_FullMethodName             = "/protobuf.AdminService/listMaintenanceCronJobs"
	AdminService_RunMaintenanceCronJob_FullMethodName               = "/protobuf.AdminService/runMaintenanceCronJob"
	AdminService_ListMaintenanceTranscodingFailures_FullMethodName  = "/protobuf.AdminService/listMaintenanceTranscodingFailures"
	AdminService_DeleteMaintenanceTranscodingFailure_FullMethodName = "/protobuf.AdminService/deleteMaintenanceTranscodingFailure"
	AdminService_ListMaintenanceEmailFailures_FullMethodName        = "/protobuf.AdminService/listMaintenanceEmailFailures"
	AdminService_DeleteMaintenanceEmailFailure_FullMethodName       = "/protobuf.AdminService/deleteMaintenanceEmailFailure"
)

Variables

View Source
var (
	UserSettingType_name = map[int32]string{
		0: "PREFERRED_NAME",
		1: "GREETING",
		2: "CUSTOM_PLAYBACK_SPEEDS",
		3: "SEEKING_TIME",
		4: "USER_DEFINED_SPEEDS",
		5: "AUTO_SKIP",
		6: "DEFAULT_MODE",
		7: "LECTURE_VIEW",
	}
	UserSettingType_value = map[string]int32{
		"PREFERRED_NAME":         0,
		"GREETING":               1,
		"CUSTOM_PLAYBACK_SPEEDS": 2,
		"SEEKING_TIME":           3,
		"USER_DEFINED_SPEEDS":    4,
		"AUTO_SKIP":              5,
		"DEFAULT_MODE":           6,
		"LECTURE_VIEW":           7,
	}
)

Enum value maps for UserSettingType.

View Source
var (
	VideoType_name = map[int32]string{
		0: "COMB",
		1: "PRES",
		2: "CAM",
	}
	VideoType_value = map[string]int32{
		"COMB": 0,
		"PRES": 1,
		"CAM":  2,
	}
)

Enum value maps for VideoType.

View Source
var (
	NotificationTarget_name = map[int32]string{
		0: "TARGET_UNSPECIFIED",
		1: "TARGET_ALL",
		2: "TARGET_USER",
		3: "TARGET_STUDENT",
		4: "TARGET_LECTURER",
		5: "TARGET_ADMIN",
	}
	NotificationTarget_value = map[string]int32{
		"TARGET_UNSPECIFIED": 0,
		"TARGET_ALL":         1,
		"TARGET_USER":        2,
		"TARGET_STUDENT":     3,
		"TARGET_LECTURER":    4,
		"TARGET_ADMIN":       5,
	}
)

Enum value maps for NotificationTarget.

View Source
var AdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.AdminService",
	HandlerType: (*AdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "listRunners",
			Handler:    _AdminService_ListRunners_Handler,
		},
		{
			MethodName: "deleteRunner",
			Handler:    _AdminService_DeleteRunner_Handler,
		},
		{
			MethodName: "listStaff",
			Handler:    _AdminService_ListStaff_Handler,
		},
		{
			MethodName: "searchUsers",
			Handler:    _AdminService_SearchUsers_Handler,
		},
		{
			MethodName: "createUser",
			Handler:    _AdminService_CreateUser_Handler,
		},
		{
			MethodName: "updateUserRole",
			Handler:    _AdminService_UpdateUserRole_Handler,
		},
		{
			MethodName: "deleteUser",
			Handler:    _AdminService_DeleteUser_Handler,
		},
		{
			MethodName: "listInfoPagesAdmin",
			Handler:    _AdminService_ListInfoPagesAdmin_Handler,
		},
		{
			MethodName: "createInfoPage",
			Handler:    _AdminService_CreateInfoPage_Handler,
		},
		{
			MethodName: "updateInfoPage",
			Handler:    _AdminService_UpdateInfoPage_Handler,
		},
		{
			MethodName: "deleteInfoPage",
			Handler:    _AdminService_DeleteInfoPage_Handler,
		},
		{
			MethodName: "listIntegrations",
			Handler:    _AdminService_ListIntegrations_Handler,
		},
		{
			MethodName: "createIntegration",
			Handler:    _AdminService_CreateIntegration_Handler,
		},
		{
			MethodName: "rotateIntegrationKey",
			Handler:    _AdminService_RotateIntegrationKey_Handler,
		},
		{
			MethodName: "revokeIntegrationKey",
			Handler:    _AdminService_RevokeIntegrationKey_Handler,
		},
		{
			MethodName: "listWorkers",
			Handler:    _AdminService_ListWorkers_Handler,
		},
		{
			MethodName: "deleteWorker",
			Handler:    _AdminService_DeleteWorker_Handler,
		},
		{
			MethodName: "getMaintenanceThumbnailStatus",
			Handler:    _AdminService_GetMaintenanceThumbnailStatus_Handler,
		},
		{
			MethodName: "generateMaintenanceThumbnails",
			Handler:    _AdminService_GenerateMaintenanceThumbnails_Handler,
		},
		{
			MethodName: "listMaintenanceCronJobs",
			Handler:    _AdminService_ListMaintenanceCronJobs_Handler,
		},
		{
			MethodName: "runMaintenanceCronJob",
			Handler:    _AdminService_RunMaintenanceCronJob_Handler,
		},
		{
			MethodName: "listMaintenanceTranscodingFailures",
			Handler:    _AdminService_ListMaintenanceTranscodingFailures_Handler,
		},
		{
			MethodName: "deleteMaintenanceTranscodingFailure",
			Handler:    _AdminService_DeleteMaintenanceTranscodingFailure_Handler,
		},
		{
			MethodName: "listMaintenanceEmailFailures",
			Handler:    _AdminService_ListMaintenanceEmailFailures_Handler,
		},
		{
			MethodName: "deleteMaintenanceEmailFailure",
			Handler:    _AdminService_DeleteMaintenanceEmailFailure_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/apiv2.proto",
}

AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService 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 CourseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.CourseService",
	HandlerType: (*CourseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getPublicCourses",
			Handler:    _CourseService_GetPublicCourses_Handler,
		},
		{
			MethodName: "getCourseBySlug",
			Handler:    _CourseService_GetCourseBySlug_Handler,
		},
		{
			MethodName: "getUserCourses",
			Handler:    _CourseService_GetUserCourses_Handler,
		},
		{
			MethodName: "getPinnedCourses",
			Handler:    _CourseService_GetPinnedCourses_Handler,
		},
		{
			MethodName: "getLiveCourses",
			Handler:    _CourseService_GetLiveCourses_Handler,
		},
		{
			MethodName: "getPinForCourse",
			Handler:    _CourseService_GetPinForCourse_Handler,
		},
		{
			MethodName: "pinCourse",
			Handler:    _CourseService_PinCourse_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/apiv2.proto",
}

CourseService_ServiceDesc is the grpc.ServiceDesc for CourseService 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_server_apiv2_proto protoreflect.FileDescriptor
View Source
var MetaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.MetaService",
	HandlerType: (*MetaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "healthCheck",
			Handler:    _MetaService_HealthCheck_Handler,
		},
		{
			MethodName: "getFrontendConfig",
			Handler:    _MetaService_GetFrontendConfig_Handler,
		},
		{
			MethodName: "getSemesters",
			Handler:    _MetaService_GetSemesters_Handler,
		},
		{
			MethodName: "getNotifications",
			Handler:    _MetaService_GetNotifications_Handler,
		},
		{
			MethodName: "getServerNotifications",
			Handler:    _MetaService_GetServerNotifications_Handler,
		},
		{
			MethodName: "getInfoPage",
			Handler:    _MetaService_GetInfoPage_Handler,
		},
		{
			MethodName: "listInfoPages",
			Handler:    _MetaService_ListInfoPages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/apiv2.proto",
}

MetaService_ServiceDesc is the grpc.ServiceDesc for MetaService 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 StreamService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.StreamService",
	HandlerType: (*StreamServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getStream",
			Handler:    _StreamService_GetStream_Handler,
		},
		{
			MethodName: "getVideoSections",
			Handler:    _StreamService_GetVideoSections_Handler,
		},
		{
			MethodName: "getStreamPlaylist",
			Handler:    _StreamService_GetStreamPlaylist_Handler,
		},
		{
			MethodName: "getSubtitles",
			Handler:    _StreamService_GetSubtitles_Handler,
		},
		{
			MethodName: "getThumbs",
			Handler:    _StreamService_GetThumbs_Handler,
		},
		{
			MethodName: "getProgressBatch",
			Handler:    _StreamService_GetProgressBatch_Handler,
		},
		{
			MethodName: "updateProgress",
			Handler:    _StreamService_UpdateProgress_Handler,
		},
		{
			MethodName: "addBookmark",
			Handler:    _StreamService_AddBookmark_Handler,
		},
		{
			MethodName: "getBookmarks",
			Handler:    _StreamService_GetBookmarks_Handler,
		},
		{
			MethodName: "updateBookmark",
			Handler:    _StreamService_UpdateBookmark_Handler,
		},
		{
			MethodName: "deleteBookmark",
			Handler:    _StreamService_DeleteBookmark_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/apiv2.proto",
}

StreamService_ServiceDesc is the grpc.ServiceDesc for StreamService 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 UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protobuf.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "updateUserSettings",
			Handler:    _UserService_UpdateUserSettings_Handler,
		},
		{
			MethodName: "exportPersonalData",
			Handler:    _UserService_ExportPersonalData_Handler,
		},
		{
			MethodName: "resetPassword",
			Handler:    _UserService_ResetPassword_Handler,
		},
		{
			MethodName: "getLoginOptions",
			Handler:    _UserService_GetLoginOptions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/apiv2.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 RegisterAdminServiceHandler added in v1.8.0

func RegisterAdminServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAdminServiceHandler registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAdminServiceHandlerClient added in v1.8.0

func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminServiceClient) error

RegisterAdminServiceHandlerClient registers the http handlers for service AdminService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdminServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterAdminServiceHandlerFromEndpoint added in v1.8.0

func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAdminServiceHandlerServer added in v1.8.0

func RegisterAdminServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServiceServer) error

RegisterAdminServiceHandlerServer registers the http handlers for service AdminService to "mux". UnaryRPC :call AdminServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterAdminServiceServer added in v1.8.0

func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)

func RegisterCourseServiceHandler added in v1.7.10

func RegisterCourseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCourseServiceHandler registers the http handlers for service CourseService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCourseServiceHandlerClient added in v1.7.10

func RegisterCourseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CourseServiceClient) error

RegisterCourseServiceHandlerClient registers the http handlers for service CourseService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CourseServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CourseServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CourseServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterCourseServiceHandlerFromEndpoint added in v1.7.10

func RegisterCourseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCourseServiceHandlerFromEndpoint is same as RegisterCourseServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCourseServiceHandlerServer added in v1.7.10

func RegisterCourseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CourseServiceServer) error

RegisterCourseServiceHandlerServer registers the http handlers for service CourseService to "mux". UnaryRPC :call CourseServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCourseServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterCourseServiceServer added in v1.7.10

func RegisterCourseServiceServer(s grpc.ServiceRegistrar, srv CourseServiceServer)

func RegisterMetaServiceHandler added in v1.7.10

func RegisterMetaServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMetaServiceHandler registers the http handlers for service MetaService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMetaServiceHandlerClient added in v1.7.10

func RegisterMetaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetaServiceClient) error

RegisterMetaServiceHandlerClient registers the http handlers for service MetaService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MetaServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MetaServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MetaServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterMetaServiceHandlerFromEndpoint added in v1.7.10

func RegisterMetaServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMetaServiceHandlerFromEndpoint is same as RegisterMetaServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMetaServiceHandlerServer added in v1.7.10

func RegisterMetaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetaServiceServer) error

RegisterMetaServiceHandlerServer registers the http handlers for service MetaService to "mux". UnaryRPC :call MetaServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMetaServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterMetaServiceServer added in v1.7.10

func RegisterMetaServiceServer(s grpc.ServiceRegistrar, srv MetaServiceServer)

func RegisterStreamServiceHandler added in v1.7.10

func RegisterStreamServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterStreamServiceHandler registers the http handlers for service StreamService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterStreamServiceHandlerClient added in v1.7.10

func RegisterStreamServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StreamServiceClient) error

RegisterStreamServiceHandlerClient registers the http handlers for service StreamService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "StreamServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "StreamServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "StreamServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterStreamServiceHandlerFromEndpoint added in v1.7.10

func RegisterStreamServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterStreamServiceHandlerFromEndpoint is same as RegisterStreamServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterStreamServiceHandlerServer added in v1.7.10

func RegisterStreamServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StreamServiceServer) error

RegisterStreamServiceHandlerServer registers the http handlers for service StreamService to "mux". UnaryRPC :call StreamServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterStreamServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterStreamServiceServer added in v1.7.10

func RegisterStreamServiceServer(s grpc.ServiceRegistrar, srv StreamServiceServer)

func RegisterUserServiceHandler added in v1.7.10

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient added in v1.7.10

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterUserServiceHandlerFromEndpoint added in v1.7.10

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer added in v1.7.10

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterUserServiceServer added in v1.7.10

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type AddBookmarkRequest

type AddBookmarkRequest struct {
	StreamId    uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Hours       uint32 `protobuf:"varint,3,opt,name=hours,proto3" json:"hours,omitempty"`
	Minutes     uint32 `protobuf:"varint,4,opt,name=minutes,proto3" json:"minutes,omitempty"`
	Seconds     uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBookmarkRequest) Descriptor deprecated

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

Deprecated: Use AddBookmarkRequest.ProtoReflect.Descriptor instead.

func (*AddBookmarkRequest) GetDescription

func (x *AddBookmarkRequest) GetDescription() string

func (*AddBookmarkRequest) GetHours

func (x *AddBookmarkRequest) GetHours() uint32

func (*AddBookmarkRequest) GetMinutes

func (x *AddBookmarkRequest) GetMinutes() uint32

func (*AddBookmarkRequest) GetSeconds

func (x *AddBookmarkRequest) GetSeconds() uint32

func (*AddBookmarkRequest) GetStreamId

func (x *AddBookmarkRequest) GetStreamId() uint32

func (*AddBookmarkRequest) ProtoMessage

func (*AddBookmarkRequest) ProtoMessage()

func (*AddBookmarkRequest) ProtoReflect

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

func (*AddBookmarkRequest) Reset

func (x *AddBookmarkRequest) Reset()

func (*AddBookmarkRequest) String

func (x *AddBookmarkRequest) String() string

type AddBookmarkResponse

type AddBookmarkResponse struct {
	Bookmark *Bookmark `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*AddBookmarkResponse) Descriptor deprecated

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

Deprecated: Use AddBookmarkResponse.ProtoReflect.Descriptor instead.

func (*AddBookmarkResponse) GetBookmark

func (x *AddBookmarkResponse) GetBookmark() *Bookmark

func (*AddBookmarkResponse) ProtoMessage

func (*AddBookmarkResponse) ProtoMessage()

func (*AddBookmarkResponse) ProtoReflect

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

func (*AddBookmarkResponse) Reset

func (x *AddBookmarkResponse) Reset()

func (*AddBookmarkResponse) String

func (x *AddBookmarkResponse) String() string

type AdminServiceClient added in v1.8.0

type AdminServiceClient interface {
	ListRunners(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListRunnersResponse, error)
	DeleteRunner(ctx context.Context, in *DeleteRunnerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Two RPCs rather than one with a filter: searchUsers reaches every account and
	// masks contact details, listStaff reaches only staff and does not.
	ListStaff(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListUsersResponse, error)
	SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*UserSummary, error)
	UpdateUserRole(ctx context.Context, in *UpdateUserRoleRequest, opts ...grpc.CallOption) (*UserSummary, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListInfoPagesAdmin(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListInfoPagesAdminResponse, error)
	CreateInfoPage(ctx context.Context, in *CreateInfoPageRequest, opts ...grpc.CallOption) (*InfoPage, error)
	UpdateInfoPage(ctx context.Context, in *UpdateInfoPageRequest, opts ...grpc.CallOption) (*InfoPage, error)
	DeleteInfoPage(ctx context.Context, in *DeleteInfoPageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListIntegrations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListIntegrationsResponse, error)
	CreateIntegration(ctx context.Context, in *CreateIntegrationRequest, opts ...grpc.CallOption) (*CreateIntegrationResponse, error)
	RotateIntegrationKey(ctx context.Context, in *RotateIntegrationKeyRequest, opts ...grpc.CallOption) (*RotateIntegrationKeyResponse, error)
	RevokeIntegrationKey(ctx context.Context, in *RevokeIntegrationKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListWorkers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListWorkersResponse, error)
	DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Thumbnail regeneration runs in a goroutine and outlives the request that started
	// it, so the page polls getMaintenanceThumbnailStatus the way the old page polled
	// its own status endpoint every five seconds.
	GetMaintenanceThumbnailStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MaintenanceThumbnailStatus, error)
	GenerateMaintenanceThumbnails(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*MaintenanceThumbnailStatus, error)
	ListMaintenanceCronJobs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListMaintenanceCronJobsResponse, error)
	RunMaintenanceCronJob(ctx context.Context, in *RunMaintenanceCronJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListMaintenanceTranscodingFailures(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListMaintenanceTranscodingFailuresResponse, error)
	DeleteMaintenanceTranscodingFailure(ctx context.Context, in *DeleteMaintenanceTranscodingFailureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListMaintenanceEmailFailures(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListMaintenanceEmailFailuresResponse, error)
	DeleteMaintenanceEmailFailure(ctx context.Context, in *DeleteMaintenanceEmailFailureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AdminServiceClient is the client API for AdminService 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.

Server administration: everything belonging to no particular course.

One service rather than one per resource, because runner/*.proto shares this proto package and is linked into the same binary — `RunnerService` is already taken there, and a collision only shows up as a panic at boot.

It groups endpoints, not permissions: policies are per method in services.go, and the account pages need PermManageUsers rather than PermAdministerServer.

func NewAdminServiceClient added in v1.8.0

func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient

type AdminServiceServer added in v1.8.0

type AdminServiceServer interface {
	ListRunners(context.Context, *emptypb.Empty) (*ListRunnersResponse, error)
	DeleteRunner(context.Context, *DeleteRunnerRequest) (*emptypb.Empty, error)
	// Two RPCs rather than one with a filter: searchUsers reaches every account and
	// masks contact details, listStaff reaches only staff and does not.
	ListStaff(context.Context, *emptypb.Empty) (*ListUsersResponse, error)
	SearchUsers(context.Context, *SearchUsersRequest) (*ListUsersResponse, error)
	CreateUser(context.Context, *CreateUserRequest) (*UserSummary, error)
	UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*UserSummary, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
	ListInfoPagesAdmin(context.Context, *emptypb.Empty) (*ListInfoPagesAdminResponse, error)
	CreateInfoPage(context.Context, *CreateInfoPageRequest) (*InfoPage, error)
	UpdateInfoPage(context.Context, *UpdateInfoPageRequest) (*InfoPage, error)
	DeleteInfoPage(context.Context, *DeleteInfoPageRequest) (*emptypb.Empty, error)
	ListIntegrations(context.Context, *emptypb.Empty) (*ListIntegrationsResponse, error)
	CreateIntegration(context.Context, *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
	RotateIntegrationKey(context.Context, *RotateIntegrationKeyRequest) (*RotateIntegrationKeyResponse, error)
	RevokeIntegrationKey(context.Context, *RevokeIntegrationKeyRequest) (*emptypb.Empty, error)
	ListWorkers(context.Context, *emptypb.Empty) (*ListWorkersResponse, error)
	DeleteWorker(context.Context, *DeleteWorkerRequest) (*emptypb.Empty, error)
	// Thumbnail regeneration runs in a goroutine and outlives the request that started
	// it, so the page polls getMaintenanceThumbnailStatus the way the old page polled
	// its own status endpoint every five seconds.
	GetMaintenanceThumbnailStatus(context.Context, *emptypb.Empty) (*MaintenanceThumbnailStatus, error)
	GenerateMaintenanceThumbnails(context.Context, *emptypb.Empty) (*MaintenanceThumbnailStatus, error)
	ListMaintenanceCronJobs(context.Context, *emptypb.Empty) (*ListMaintenanceCronJobsResponse, error)
	RunMaintenanceCronJob(context.Context, *RunMaintenanceCronJobRequest) (*emptypb.Empty, error)
	ListMaintenanceTranscodingFailures(context.Context, *emptypb.Empty) (*ListMaintenanceTranscodingFailuresResponse, error)
	DeleteMaintenanceTranscodingFailure(context.Context, *DeleteMaintenanceTranscodingFailureRequest) (*emptypb.Empty, error)
	ListMaintenanceEmailFailures(context.Context, *emptypb.Empty) (*ListMaintenanceEmailFailuresResponse, error)
	DeleteMaintenanceEmailFailure(context.Context, *DeleteMaintenanceEmailFailureRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility.

Server administration: everything belonging to no particular course.

One service rather than one per resource, because runner/*.proto shares this proto package and is linked into the same binary — `RunnerService` is already taken there, and a collision only shows up as a panic at boot.

It groups endpoints, not permissions: policies are per method in services.go, and the account pages need PermManageUsers rather than PermAdministerServer.

type Bookmark

type Bookmark struct {
	BookmarkId  uint32 `protobuf:"varint,1,opt,name=bookmark_id,json=bookmarkId,proto3" json:"bookmark_id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Hours       uint32 `protobuf:"varint,3,opt,name=hours,proto3" json:"hours,omitempty"`
	Minutes     uint32 `protobuf:"varint,4,opt,name=minutes,proto3" json:"minutes,omitempty"`
	Seconds     uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
	UserId      uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	StreamId    uint32 `protobuf:"varint,7,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Bookmark) Descriptor deprecated

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

Deprecated: Use Bookmark.ProtoReflect.Descriptor instead.

func (*Bookmark) GetBookmarkId

func (x *Bookmark) GetBookmarkId() uint32

func (*Bookmark) GetDescription

func (x *Bookmark) GetDescription() string

func (*Bookmark) GetHours

func (x *Bookmark) GetHours() uint32

func (*Bookmark) GetMinutes

func (x *Bookmark) GetMinutes() uint32

func (*Bookmark) GetSeconds

func (x *Bookmark) GetSeconds() uint32

func (*Bookmark) GetStreamId

func (x *Bookmark) GetStreamId() uint32

func (*Bookmark) GetUserId

func (x *Bookmark) GetUserId() uint32

func (*Bookmark) ProtoMessage

func (*Bookmark) ProtoMessage()

func (*Bookmark) ProtoReflect

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

func (*Bookmark) Reset

func (x *Bookmark) Reset()

func (*Bookmark) String

func (x *Bookmark) String() string

type Branding added in v1.7.10

type Branding struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Branding is the deployment's own name for itself, configured in branding.yaml.

func (*Branding) Descriptor deprecated added in v1.7.10

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

Deprecated: Use Branding.ProtoReflect.Descriptor instead.

func (*Branding) GetDescription added in v1.7.10

func (x *Branding) GetDescription() string

func (*Branding) GetTitle added in v1.7.10

func (x *Branding) GetTitle() string

func (*Branding) ProtoMessage added in v1.7.10

func (*Branding) ProtoMessage()

func (*Branding) ProtoReflect added in v1.7.10

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

func (*Branding) Reset added in v1.7.10

func (x *Branding) Reset()

func (*Branding) String added in v1.7.10

func (x *Branding) String() string

type CameraPreset

type CameraPreset struct {
	Id          uint32 `protobuf:"varint,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 (*CameraPreset) Descriptor deprecated

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

Deprecated: Use CameraPreset.ProtoReflect.Descriptor instead.

func (*CameraPreset) GetDescription

func (x *CameraPreset) GetDescription() string

func (*CameraPreset) GetId

func (x *CameraPreset) GetId() uint32

func (*CameraPreset) GetName

func (x *CameraPreset) GetName() string

func (*CameraPreset) ProtoMessage

func (*CameraPreset) ProtoMessage()

func (*CameraPreset) ProtoReflect

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

func (*CameraPreset) Reset

func (x *CameraPreset) Reset()

func (*CameraPreset) String

func (x *CameraPreset) String() string

type Chat

type Chat struct {
	StreamId  uint32                 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Message   string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Chat) Descriptor deprecated

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

Deprecated: Use Chat.ProtoReflect.Descriptor instead.

func (*Chat) GetCreatedAt

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

func (*Chat) GetMessage

func (x *Chat) GetMessage() string

func (*Chat) GetStreamId

func (x *Chat) GetStreamId() uint32

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) ProtoReflect

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

func (*Chat) Reset

func (x *Chat) Reset()

func (*Chat) String

func (x *Chat) String() string

type Course

type Course struct {
	Id                      uint32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                    string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Slug                    string    `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	Semester                *Semester `protobuf:"bytes,4,opt,name=semester,proto3" json:"semester,omitempty"`
	TumOnlineIdentifier     string    `protobuf:"bytes,5,opt,name=tum_online_identifier,json=tumOnlineIdentifier,proto3" json:"tum_online_identifier,omitempty"`
	VodEnabled              bool      `protobuf:"varint,6,opt,name=vod_enabled,json=vodEnabled,proto3" json:"vod_enabled,omitempty"`
	DownloadsEnabled        bool      `protobuf:"varint,7,opt,name=downloads_enabled,json=downloadsEnabled,proto3" json:"downloads_enabled,omitempty"`
	ChatEnabled             bool      `protobuf:"varint,8,opt,name=chat_enabled,json=chatEnabled,proto3" json:"chat_enabled,omitempty"`
	AnonymousChatEnabled    bool      `protobuf:"varint,9,opt,name=anonymous_chat_enabled,json=anonymousChatEnabled,proto3" json:"anonymous_chat_enabled,omitempty"`
	ModeratedChatEnabled    bool      `protobuf:"varint,10,opt,name=moderated_chat_enabled,json=moderatedChatEnabled,proto3" json:"moderated_chat_enabled,omitempty"`
	VodChatEnabled          bool      `protobuf:"varint,11,opt,name=vod_chat_enabled,json=vodChatEnabled,proto3" json:"vod_chat_enabled,omitempty"`
	Streams                 []*Stream `protobuf:"bytes,12,rep,name=streams,proto3" json:"streams,omitempty"`
	CameraPresetPreferences string    `` /* 133-byte string literal not displayed */
	SourcePreferences       string    `protobuf:"bytes,14,opt,name=source_preferences,json=sourcePreferences,proto3" json:"source_preferences,omitempty"`
	// The most recent recorded lecture, absent when the course has none.
	LastRecording *Stream `protobuf:"bytes,17,opt,name=last_recording,json=lastRecording,proto3,oneof" json:"last_recording,omitempty"`
	// The next lecture that has not ended yet, absent when the course has none.
	NextLecture *Stream `protobuf:"bytes,18,opt,name=next_lecture,json=nextLecture,proto3,oneof" json:"next_lecture,omitempty"`
	// One of "public", "loggedin", "enrolled" or "hidden". Listings that reach the
	// caller are already filtered by it; it is here so the page can mark a hidden
	// course as such for the administrators who do see it.
	Visibility string `protobuf:"bytes,19,opt,name=visibility,proto3" json:"visibility,omitempty"`
	// Whether the calling user has pinned this course. False for anonymous callers.
	Pinned bool `protobuf:"varint,20,opt,name=pinned,proto3" json:"pinned,omitempty"`
	// Whether the calling user administers this course, as opposed to being a global
	// admin. Drives the per-course admin link.
	IsAdmin bool `protobuf:"varint,21,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
	// contains filtered or unexported fields
}

func (*Course) Descriptor deprecated

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

Deprecated: Use Course.ProtoReflect.Descriptor instead.

func (*Course) GetAnonymousChatEnabled

func (x *Course) GetAnonymousChatEnabled() bool

func (*Course) GetCameraPresetPreferences

func (x *Course) GetCameraPresetPreferences() string

func (*Course) GetChatEnabled

func (x *Course) GetChatEnabled() bool

func (*Course) GetDownloadsEnabled

func (x *Course) GetDownloadsEnabled() bool

func (*Course) GetId

func (x *Course) GetId() uint32

func (*Course) GetIsAdmin added in v1.7.10

func (x *Course) GetIsAdmin() bool

func (*Course) GetLastRecording added in v1.7.10

func (x *Course) GetLastRecording() *Stream

func (*Course) GetModeratedChatEnabled

func (x *Course) GetModeratedChatEnabled() bool

func (*Course) GetName

func (x *Course) GetName() string

func (*Course) GetNextLecture added in v1.7.10

func (x *Course) GetNextLecture() *Stream

func (*Course) GetPinned added in v1.7.10

func (x *Course) GetPinned() bool

func (*Course) GetSemester

func (x *Course) GetSemester() *Semester

func (*Course) GetSlug

func (x *Course) GetSlug() string

func (*Course) GetSourcePreferences

func (x *Course) GetSourcePreferences() string

func (*Course) GetStreams

func (x *Course) GetStreams() []*Stream

func (*Course) GetTumOnlineIdentifier

func (x *Course) GetTumOnlineIdentifier() string

func (*Course) GetVisibility added in v1.7.10

func (x *Course) GetVisibility() string

func (*Course) GetVodChatEnabled

func (x *Course) GetVodChatEnabled() bool

func (*Course) GetVodEnabled

func (x *Course) GetVodEnabled() bool

func (*Course) ProtoMessage

func (*Course) ProtoMessage()

func (*Course) ProtoReflect

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

func (*Course) Reset

func (x *Course) Reset()

func (*Course) String

func (x *Course) String() string

type CourseServiceClient added in v1.7.10

type CourseServiceClient interface {
	GetPublicCourses(ctx context.Context, in *GetPublicCoursesRequest, opts ...grpc.CallOption) (*GetPublicCoursesResponse, error)
	GetCourseBySlug(ctx context.Context, in *GetCourseBySlugRequest, opts ...grpc.CallOption) (*GetCourseBySlugResponse, error)
	GetUserCourses(ctx context.Context, in *GetUserCoursesRequest, opts ...grpc.CallOption) (*GetUserCoursesResponse, error)
	GetPinnedCourses(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPinnedCoursesResponse, error)
	GetLiveCourses(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLiveCoursesResponse, error)
	GetPinForCourse(ctx context.Context, in *GetPinForCourseRequest, opts ...grpc.CallOption) (*GetPinForCourseResponse, error)
	PinCourse(ctx context.Context, in *PinCourseRequest, opts ...grpc.CallOption) (*PinCourseResponse, error)
}

CourseServiceClient is the client API for CourseService 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.

Courses and the caller's relationship to them.

func NewCourseServiceClient added in v1.7.10

func NewCourseServiceClient(cc grpc.ClientConnInterface) CourseServiceClient

type CourseServiceServer added in v1.7.10

CourseServiceServer is the server API for CourseService service. All implementations must embed UnimplementedCourseServiceServer for forward compatibility.

Courses and the caller's relationship to them.

type CourseStream

type CourseStream struct {
	Course      *Course      `protobuf:"bytes,1,opt,name=course,proto3" json:"course,omitempty"`
	Stream      *Stream      `protobuf:"bytes,2,opt,name=stream,proto3" json:"stream,omitempty"`
	LectureHall *LectureHall `protobuf:"bytes,3,opt,name=lecture_hall,json=lectureHall,proto3" json:"lecture_hall,omitempty"`
	Viewers     uint32       `protobuf:"varint,4,opt,name=viewers,proto3" json:"viewers,omitempty"`
	// contains filtered or unexported fields
}

func (*CourseStream) Descriptor deprecated

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

Deprecated: Use CourseStream.ProtoReflect.Descriptor instead.

func (*CourseStream) GetCourse

func (x *CourseStream) GetCourse() *Course

func (*CourseStream) GetLectureHall

func (x *CourseStream) GetLectureHall() *LectureHall

func (*CourseStream) GetStream

func (x *CourseStream) GetStream() *Stream

func (*CourseStream) GetViewers

func (x *CourseStream) GetViewers() uint32

func (*CourseStream) ProtoMessage

func (*CourseStream) ProtoMessage()

func (*CourseStream) ProtoReflect

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

func (*CourseStream) Reset

func (x *CourseStream) Reset()

func (*CourseStream) String

func (x *CourseStream) String() string

type CreateInfoPageRequest added in v1.8.0

type CreateInfoPageRequest struct {
	Slug       string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RawContent string `protobuf:"bytes,3,opt,name=raw_content,json=rawContent,proto3" json:"raw_content,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInfoPageRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use CreateInfoPageRequest.ProtoReflect.Descriptor instead.

func (*CreateInfoPageRequest) GetName added in v1.8.0

func (x *CreateInfoPageRequest) GetName() string

func (*CreateInfoPageRequest) GetRawContent added in v1.8.0

func (x *CreateInfoPageRequest) GetRawContent() string

func (*CreateInfoPageRequest) GetSlug added in v1.8.0

func (x *CreateInfoPageRequest) GetSlug() string

func (*CreateInfoPageRequest) ProtoMessage added in v1.8.0

func (*CreateInfoPageRequest) ProtoMessage()

func (*CreateInfoPageRequest) ProtoReflect added in v1.8.0

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

func (*CreateInfoPageRequest) Reset added in v1.8.0

func (x *CreateInfoPageRequest) Reset()

func (*CreateInfoPageRequest) String added in v1.8.0

func (x *CreateInfoPageRequest) String() string

type CreateIntegrationRequest added in v1.8.1

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

func (*CreateIntegrationRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use CreateIntegrationRequest.ProtoReflect.Descriptor instead.

func (*CreateIntegrationRequest) GetName added in v1.8.1

func (x *CreateIntegrationRequest) GetName() string

func (*CreateIntegrationRequest) GetReturnUrl added in v1.8.1

func (x *CreateIntegrationRequest) GetReturnUrl() string

func (*CreateIntegrationRequest) ProtoMessage added in v1.8.1

func (*CreateIntegrationRequest) ProtoMessage()

func (*CreateIntegrationRequest) ProtoReflect added in v1.8.1

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

func (*CreateIntegrationRequest) Reset added in v1.8.1

func (x *CreateIntegrationRequest) Reset()

func (*CreateIntegrationRequest) String added in v1.8.1

func (x *CreateIntegrationRequest) String() string

type CreateIntegrationResponse added in v1.8.1

type CreateIntegrationResponse struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ReturnUrl string `protobuf:"bytes,3,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"`
	// Only returned on creation; the stored hash cannot recover the key.
	ApiKey string `protobuf:"bytes,4,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIntegrationResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use CreateIntegrationResponse.ProtoReflect.Descriptor instead.

func (*CreateIntegrationResponse) GetApiKey added in v1.8.1

func (x *CreateIntegrationResponse) GetApiKey() string

func (*CreateIntegrationResponse) GetId added in v1.8.1

func (x *CreateIntegrationResponse) GetId() uint32

func (*CreateIntegrationResponse) GetName added in v1.8.1

func (x *CreateIntegrationResponse) GetName() string

func (*CreateIntegrationResponse) GetReturnUrl added in v1.8.1

func (x *CreateIntegrationResponse) GetReturnUrl() string

func (*CreateIntegrationResponse) ProtoMessage added in v1.8.1

func (*CreateIntegrationResponse) ProtoMessage()

func (*CreateIntegrationResponse) ProtoReflect added in v1.8.1

func (*CreateIntegrationResponse) Reset added in v1.8.1

func (x *CreateIntegrationResponse) Reset()

func (*CreateIntegrationResponse) String added in v1.8.1

func (x *CreateIntegrationResponse) String() string

type CreateUserRequest added in v1.8.0

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"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail added in v1.8.0

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetName added in v1.8.0

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) ProtoMessage added in v1.8.0

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect added in v1.8.0

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

func (*CreateUserRequest) Reset added in v1.8.0

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v1.8.0

func (x *CreateUserRequest) String() string

type DeleteBookmarkRequest

type DeleteBookmarkRequest struct {
	BookmarkId uint32 `protobuf:"varint,1,opt,name=bookmark_id,json=bookmarkId,proto3" json:"bookmark_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBookmarkRequest) Descriptor deprecated

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

Deprecated: Use DeleteBookmarkRequest.ProtoReflect.Descriptor instead.

func (*DeleteBookmarkRequest) GetBookmarkId

func (x *DeleteBookmarkRequest) GetBookmarkId() uint32

func (*DeleteBookmarkRequest) ProtoMessage

func (*DeleteBookmarkRequest) ProtoMessage()

func (*DeleteBookmarkRequest) ProtoReflect

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

func (*DeleteBookmarkRequest) Reset

func (x *DeleteBookmarkRequest) Reset()

func (*DeleteBookmarkRequest) String

func (x *DeleteBookmarkRequest) String() string

type DeleteInfoPageRequest added in v1.8.0

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

func (*DeleteInfoPageRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use DeleteInfoPageRequest.ProtoReflect.Descriptor instead.

func (*DeleteInfoPageRequest) GetId added in v1.8.0

func (x *DeleteInfoPageRequest) GetId() uint32

func (*DeleteInfoPageRequest) ProtoMessage added in v1.8.0

func (*DeleteInfoPageRequest) ProtoMessage()

func (*DeleteInfoPageRequest) ProtoReflect added in v1.8.0

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

func (*DeleteInfoPageRequest) Reset added in v1.8.0

func (x *DeleteInfoPageRequest) Reset()

func (*DeleteInfoPageRequest) String added in v1.8.0

func (x *DeleteInfoPageRequest) String() string

type DeleteMaintenanceEmailFailureRequest added in v1.8.1

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

func (*DeleteMaintenanceEmailFailureRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use DeleteMaintenanceEmailFailureRequest.ProtoReflect.Descriptor instead.

func (*DeleteMaintenanceEmailFailureRequest) GetId added in v1.8.1

func (*DeleteMaintenanceEmailFailureRequest) ProtoMessage added in v1.8.1

func (*DeleteMaintenanceEmailFailureRequest) ProtoMessage()

func (*DeleteMaintenanceEmailFailureRequest) ProtoReflect added in v1.8.1

func (*DeleteMaintenanceEmailFailureRequest) Reset added in v1.8.1

func (*DeleteMaintenanceEmailFailureRequest) String added in v1.8.1

type DeleteMaintenanceTranscodingFailureRequest added in v1.8.1

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

func (*DeleteMaintenanceTranscodingFailureRequest) Descriptor deprecated added in v1.8.1

Deprecated: Use DeleteMaintenanceTranscodingFailureRequest.ProtoReflect.Descriptor instead.

func (*DeleteMaintenanceTranscodingFailureRequest) GetId added in v1.8.1

func (*DeleteMaintenanceTranscodingFailureRequest) ProtoMessage added in v1.8.1

func (*DeleteMaintenanceTranscodingFailureRequest) ProtoReflect added in v1.8.1

func (*DeleteMaintenanceTranscodingFailureRequest) Reset added in v1.8.1

func (*DeleteMaintenanceTranscodingFailureRequest) String added in v1.8.1

type DeleteRunnerRequest added in v1.8.0

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

func (*DeleteRunnerRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use DeleteRunnerRequest.ProtoReflect.Descriptor instead.

func (*DeleteRunnerRequest) GetHostname added in v1.8.0

func (x *DeleteRunnerRequest) GetHostname() string

func (*DeleteRunnerRequest) ProtoMessage added in v1.8.0

func (*DeleteRunnerRequest) ProtoMessage()

func (*DeleteRunnerRequest) ProtoReflect added in v1.8.0

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

func (*DeleteRunnerRequest) Reset added in v1.8.0

func (x *DeleteRunnerRequest) Reset()

func (*DeleteRunnerRequest) String added in v1.8.0

func (x *DeleteRunnerRequest) String() string

type DeleteUserRequest added in v1.8.0

type DeleteUserRequest struct {
	UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUserId added in v1.8.0

func (x *DeleteUserRequest) GetUserId() uint32

func (*DeleteUserRequest) ProtoMessage added in v1.8.0

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v1.8.0

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

func (*DeleteUserRequest) Reset added in v1.8.0

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v1.8.0

func (x *DeleteUserRequest) String() string

type DeleteWorkerRequest added in v1.8.1

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

func (*DeleteWorkerRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use DeleteWorkerRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkerRequest) GetWorkerId added in v1.8.1

func (x *DeleteWorkerRequest) GetWorkerId() string

func (*DeleteWorkerRequest) ProtoMessage added in v1.8.1

func (*DeleteWorkerRequest) ProtoMessage()

func (*DeleteWorkerRequest) ProtoReflect added in v1.8.1

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

func (*DeleteWorkerRequest) Reset added in v1.8.1

func (x *DeleteWorkerRequest) Reset()

func (*DeleteWorkerRequest) String added in v1.8.1

func (x *DeleteWorkerRequest) String() string

type Download

type Download struct {
	FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	DownloadUrl  string `protobuf:"bytes,2,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Download) Descriptor deprecated

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

Deprecated: Use Download.ProtoReflect.Descriptor instead.

func (*Download) GetDownloadUrl

func (x *Download) GetDownloadUrl() string

func (*Download) GetFriendlyName

func (x *Download) GetFriendlyName() string

func (*Download) ProtoMessage

func (*Download) ProtoMessage()

func (*Download) ProtoReflect

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

func (*Download) Reset

func (x *Download) Reset()

func (*Download) String

func (x *Download) String() string

type Enrollment

type Enrollment struct {
	Year   int32  `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	Term   string `protobuf:"bytes,2,opt,name=term,proto3" json:"term,omitempty"`
	Course string `protobuf:"bytes,3,opt,name=course,proto3" json:"course,omitempty"`
	// contains filtered or unexported fields
}

func (*Enrollment) Descriptor deprecated

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

Deprecated: Use Enrollment.ProtoReflect.Descriptor instead.

func (*Enrollment) GetCourse

func (x *Enrollment) GetCourse() string

func (*Enrollment) GetTerm

func (x *Enrollment) GetTerm() string

func (*Enrollment) GetYear

func (x *Enrollment) GetYear() int32

func (*Enrollment) ProtoMessage

func (*Enrollment) ProtoMessage()

func (*Enrollment) ProtoReflect

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

func (*Enrollment) Reset

func (x *Enrollment) Reset()

func (*Enrollment) String

func (x *Enrollment) String() string

type ExportPersonalDataResponse

type ExportPersonalDataResponse struct {
	UserData    *User         `protobuf:"bytes,1,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
	Enrollments []*Enrollment `protobuf:"bytes,2,rep,name=enrollments,proto3" json:"enrollments,omitempty"`
	VideoViews  []*VideoView  `protobuf:"bytes,3,rep,name=video_views,json=videoViews,proto3" json:"video_views,omitempty"`
	Chats       []*Chat       `protobuf:"bytes,4,rep,name=chats,proto3" json:"chats,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportPersonalDataResponse) Descriptor deprecated

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

Deprecated: Use ExportPersonalDataResponse.ProtoReflect.Descriptor instead.

func (*ExportPersonalDataResponse) GetChats

func (x *ExportPersonalDataResponse) GetChats() []*Chat

func (*ExportPersonalDataResponse) GetEnrollments

func (x *ExportPersonalDataResponse) GetEnrollments() []*Enrollment

func (*ExportPersonalDataResponse) GetUserData

func (x *ExportPersonalDataResponse) GetUserData() *User

func (*ExportPersonalDataResponse) GetVideoViews

func (x *ExportPersonalDataResponse) GetVideoViews() []*VideoView

func (*ExportPersonalDataResponse) ProtoMessage

func (*ExportPersonalDataResponse) ProtoMessage()

func (*ExportPersonalDataResponse) ProtoReflect

func (*ExportPersonalDataResponse) Reset

func (x *ExportPersonalDataResponse) Reset()

func (*ExportPersonalDataResponse) String

func (x *ExportPersonalDataResponse) String() string

type GetBookmarksRequest

type GetBookmarksRequest struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBookmarksRequest) Descriptor deprecated

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

Deprecated: Use GetBookmarksRequest.ProtoReflect.Descriptor instead.

func (*GetBookmarksRequest) GetStreamId

func (x *GetBookmarksRequest) GetStreamId() uint32

func (*GetBookmarksRequest) ProtoMessage

func (*GetBookmarksRequest) ProtoMessage()

func (*GetBookmarksRequest) ProtoReflect

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

func (*GetBookmarksRequest) Reset

func (x *GetBookmarksRequest) Reset()

func (*GetBookmarksRequest) String

func (x *GetBookmarksRequest) String() string

type GetBookmarksResponse

type GetBookmarksResponse struct {
	Bookmarks []*Bookmark `protobuf:"bytes,1,rep,name=bookmarks,proto3" json:"bookmarks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBookmarksResponse) Descriptor deprecated

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

Deprecated: Use GetBookmarksResponse.ProtoReflect.Descriptor instead.

func (*GetBookmarksResponse) GetBookmarks

func (x *GetBookmarksResponse) GetBookmarks() []*Bookmark

func (*GetBookmarksResponse) ProtoMessage

func (*GetBookmarksResponse) ProtoMessage()

func (*GetBookmarksResponse) ProtoReflect

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

func (*GetBookmarksResponse) Reset

func (x *GetBookmarksResponse) Reset()

func (*GetBookmarksResponse) String

func (x *GetBookmarksResponse) String() string

type GetCourseBySlugRequest

type GetCourseBySlugRequest struct {
	Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	Year uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"`
	Term string `protobuf:"bytes,3,opt,name=term,proto3" json:"term,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCourseBySlugRequest) Descriptor deprecated

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

Deprecated: Use GetCourseBySlugRequest.ProtoReflect.Descriptor instead.

func (*GetCourseBySlugRequest) GetSlug

func (x *GetCourseBySlugRequest) GetSlug() string

func (*GetCourseBySlugRequest) GetTerm

func (x *GetCourseBySlugRequest) GetTerm() string

func (*GetCourseBySlugRequest) GetYear

func (x *GetCourseBySlugRequest) GetYear() uint32

func (*GetCourseBySlugRequest) ProtoMessage

func (*GetCourseBySlugRequest) ProtoMessage()

func (*GetCourseBySlugRequest) ProtoReflect

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

func (*GetCourseBySlugRequest) Reset

func (x *GetCourseBySlugRequest) Reset()

func (*GetCourseBySlugRequest) String

func (x *GetCourseBySlugRequest) String() string

type GetCourseBySlugResponse

type GetCourseBySlugResponse struct {
	Course *Course `protobuf:"bytes,1,opt,name=course,proto3" json:"course,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCourseBySlugResponse) Descriptor deprecated

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

Deprecated: Use GetCourseBySlugResponse.ProtoReflect.Descriptor instead.

func (*GetCourseBySlugResponse) GetCourse

func (x *GetCourseBySlugResponse) GetCourse() *Course

func (*GetCourseBySlugResponse) ProtoMessage

func (*GetCourseBySlugResponse) ProtoMessage()

func (*GetCourseBySlugResponse) ProtoReflect

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

func (*GetCourseBySlugResponse) Reset

func (x *GetCourseBySlugResponse) Reset()

func (*GetCourseBySlugResponse) String

func (x *GetCourseBySlugResponse) String() string

type GetFrontendConfigResponse added in v1.7.10

type GetFrontendConfigResponse struct {
	Branding *Branding `protobuf:"bytes,1,opt,name=branding,proto3" json:"branding,omitempty"`
	// versionTag is the build's version, or "development" for an unversioned build.
	VersionTag string `protobuf:"bytes,2,opt,name=version_tag,json=versionTag,proto3" json:"version_tag,omitempty"`
	// wikiUrl and canonicalUrl are empty when the deployment has not configured them.
	WikiUrl      string `protobuf:"bytes,3,opt,name=wiki_url,json=wikiUrl,proto3" json:"wiki_url,omitempty"`
	CanonicalUrl string `protobuf:"bytes,4,opt,name=canonical_url,json=canonicalUrl,proto3" json:"canonical_url,omitempty"`
	// isFreshInstallation reports that the database holds no users yet, so the
	// frontend can offer to create the first account instead of a login form.
	IsFreshInstallation bool `protobuf:"varint,5,opt,name=is_fresh_installation,json=isFreshInstallation,proto3" json:"is_fresh_installation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFrontendConfigResponse) Descriptor deprecated added in v1.7.10

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

Deprecated: Use GetFrontendConfigResponse.ProtoReflect.Descriptor instead.

func (*GetFrontendConfigResponse) GetBranding added in v1.7.10

func (x *GetFrontendConfigResponse) GetBranding() *Branding

func (*GetFrontendConfigResponse) GetCanonicalUrl added in v1.7.10

func (x *GetFrontendConfigResponse) GetCanonicalUrl() string

func (*GetFrontendConfigResponse) GetIsFreshInstallation added in v1.7.10

func (x *GetFrontendConfigResponse) GetIsFreshInstallation() bool

func (*GetFrontendConfigResponse) GetVersionTag added in v1.7.10

func (x *GetFrontendConfigResponse) GetVersionTag() string

func (*GetFrontendConfigResponse) GetWikiUrl added in v1.7.10

func (x *GetFrontendConfigResponse) GetWikiUrl() string

func (*GetFrontendConfigResponse) ProtoMessage added in v1.7.10

func (*GetFrontendConfigResponse) ProtoMessage()

func (*GetFrontendConfigResponse) ProtoReflect added in v1.7.10

func (*GetFrontendConfigResponse) Reset added in v1.7.10

func (x *GetFrontendConfigResponse) Reset()

func (*GetFrontendConfigResponse) String added in v1.7.10

func (x *GetFrontendConfigResponse) String() string

type GetInfoPageRequest added in v1.8.0

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

The name is the page's route -- its slug, e.g. "privacy" -- not the editable title stored beside its content.

func (*GetInfoPageRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use GetInfoPageRequest.ProtoReflect.Descriptor instead.

func (*GetInfoPageRequest) GetName added in v1.8.0

func (x *GetInfoPageRequest) GetName() string

func (*GetInfoPageRequest) ProtoMessage added in v1.8.0

func (*GetInfoPageRequest) ProtoMessage()

func (*GetInfoPageRequest) ProtoReflect added in v1.8.0

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

func (*GetInfoPageRequest) Reset added in v1.8.0

func (x *GetInfoPageRequest) Reset()

func (*GetInfoPageRequest) String added in v1.8.0

func (x *GetInfoPageRequest) String() string

type GetInfoPageResponse added in v1.8.0

type GetInfoPageResponse struct {

	// name echoes the requested route name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Rendered from Markdown and sanitised server-side; the client must not do it again.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInfoPageResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use GetInfoPageResponse.ProtoReflect.Descriptor instead.

func (*GetInfoPageResponse) GetContent added in v1.8.0

func (x *GetInfoPageResponse) GetContent() string

func (*GetInfoPageResponse) GetName added in v1.8.0

func (x *GetInfoPageResponse) GetName() string

func (*GetInfoPageResponse) ProtoMessage added in v1.8.0

func (*GetInfoPageResponse) ProtoMessage()

func (*GetInfoPageResponse) ProtoReflect added in v1.8.0

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

func (*GetInfoPageResponse) Reset added in v1.8.0

func (x *GetInfoPageResponse) Reset()

func (*GetInfoPageResponse) String added in v1.8.0

func (x *GetInfoPageResponse) String() string

type GetLiveCoursesResponse

type GetLiveCoursesResponse struct {
	LiveCourses []*CourseStream `protobuf:"bytes,1,rep,name=live_courses,json=liveCourses,proto3" json:"live_courses,omitempty"`
	// contains filtered or unexported fields
}

///////////////////////////// ///// COURSE_RESPONSE /////// /////////////////////////////

func (*GetLiveCoursesResponse) Descriptor deprecated

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

Deprecated: Use GetLiveCoursesResponse.ProtoReflect.Descriptor instead.

func (*GetLiveCoursesResponse) GetLiveCourses

func (x *GetLiveCoursesResponse) GetLiveCourses() []*CourseStream

func (*GetLiveCoursesResponse) ProtoMessage

func (*GetLiveCoursesResponse) ProtoMessage()

func (*GetLiveCoursesResponse) ProtoReflect

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

func (*GetLiveCoursesResponse) Reset

func (x *GetLiveCoursesResponse) Reset()

func (*GetLiveCoursesResponse) String

func (x *GetLiveCoursesResponse) String() string

type GetLoginOptionsResponse added in v1.7.10

type GetLoginOptionsResponse struct {

	// Whether an identity provider is configured. When false, only the username and
	// password form applies.
	UseSaml bool `protobuf:"varint,1,opt,name=use_saml,json=useSaml,proto3" json:"use_saml,omitempty"`
	// Display name of the identity provider, shown on its sign-in button.
	IdpName string `protobuf:"bytes,2,opt,name=idp_name,json=idpName,proto3" json:"idp_name,omitempty"`
	// Brand colour for that button, as a CSS colour. May be empty.
	IdpColor string `protobuf:"bytes,3,opt,name=idp_color,json=idpColor,proto3" json:"idp_color,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLoginOptionsResponse) Descriptor deprecated added in v1.7.10

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

Deprecated: Use GetLoginOptionsResponse.ProtoReflect.Descriptor instead.

func (*GetLoginOptionsResponse) GetIdpColor added in v1.7.10

func (x *GetLoginOptionsResponse) GetIdpColor() string

func (*GetLoginOptionsResponse) GetIdpName added in v1.7.10

func (x *GetLoginOptionsResponse) GetIdpName() string

func (*GetLoginOptionsResponse) GetUseSaml added in v1.7.10

func (x *GetLoginOptionsResponse) GetUseSaml() bool

func (*GetLoginOptionsResponse) ProtoMessage added in v1.7.10

func (*GetLoginOptionsResponse) ProtoMessage()

func (*GetLoginOptionsResponse) ProtoReflect added in v1.7.10

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

func (*GetLoginOptionsResponse) Reset added in v1.7.10

func (x *GetLoginOptionsResponse) Reset()

func (*GetLoginOptionsResponse) String added in v1.7.10

func (x *GetLoginOptionsResponse) String() string

type GetNotificationsResponse

type GetNotificationsResponse struct {
	Notifications []*UserGroupNotification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationsResponse) Descriptor deprecated

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

Deprecated: Use GetNotificationsResponse.ProtoReflect.Descriptor instead.

func (*GetNotificationsResponse) GetNotifications

func (x *GetNotificationsResponse) GetNotifications() []*UserGroupNotification

func (*GetNotificationsResponse) ProtoMessage

func (*GetNotificationsResponse) ProtoMessage()

func (*GetNotificationsResponse) ProtoReflect

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

func (*GetNotificationsResponse) Reset

func (x *GetNotificationsResponse) Reset()

func (*GetNotificationsResponse) String

func (x *GetNotificationsResponse) String() string

type GetPinForCourseRequest

type GetPinForCourseRequest struct {
	CourseId uint32 `protobuf:"varint,1,opt,name=course_id,json=courseId,proto3" json:"course_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPinForCourseRequest) Descriptor deprecated

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

Deprecated: Use GetPinForCourseRequest.ProtoReflect.Descriptor instead.

func (*GetPinForCourseRequest) GetCourseId

func (x *GetPinForCourseRequest) GetCourseId() uint32

func (*GetPinForCourseRequest) ProtoMessage

func (*GetPinForCourseRequest) ProtoMessage()

func (*GetPinForCourseRequest) ProtoReflect

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

func (*GetPinForCourseRequest) Reset

func (x *GetPinForCourseRequest) Reset()

func (*GetPinForCourseRequest) String

func (x *GetPinForCourseRequest) String() string

type GetPinForCourseResponse

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

func (*GetPinForCourseResponse) Descriptor deprecated

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

Deprecated: Use GetPinForCourseResponse.ProtoReflect.Descriptor instead.

func (*GetPinForCourseResponse) GetHas

func (x *GetPinForCourseResponse) GetHas() bool

func (*GetPinForCourseResponse) ProtoMessage

func (*GetPinForCourseResponse) ProtoMessage()

func (*GetPinForCourseResponse) ProtoReflect

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

func (*GetPinForCourseResponse) Reset

func (x *GetPinForCourseResponse) Reset()

func (*GetPinForCourseResponse) String

func (x *GetPinForCourseResponse) String() string

type GetPinnedCoursesResponse

type GetPinnedCoursesResponse struct {
	Courses []*Course `protobuf:"bytes,1,rep,name=courses,proto3" json:"courses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPinnedCoursesResponse) Descriptor deprecated

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

Deprecated: Use GetPinnedCoursesResponse.ProtoReflect.Descriptor instead.

func (*GetPinnedCoursesResponse) GetCourses

func (x *GetPinnedCoursesResponse) GetCourses() []*Course

func (*GetPinnedCoursesResponse) ProtoMessage

func (*GetPinnedCoursesResponse) ProtoMessage()

func (*GetPinnedCoursesResponse) ProtoReflect

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

func (*GetPinnedCoursesResponse) Reset

func (x *GetPinnedCoursesResponse) Reset()

func (*GetPinnedCoursesResponse) String

func (x *GetPinnedCoursesResponse) String() string

type GetProgressBatchRequest

type GetProgressBatchRequest struct {
	StreamIds []uint32 `protobuf:"varint,1,rep,packed,name=stream_ids,json=streamIds,proto3" json:"stream_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProgressBatchRequest) Descriptor deprecated

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

Deprecated: Use GetProgressBatchRequest.ProtoReflect.Descriptor instead.

func (*GetProgressBatchRequest) GetStreamIds

func (x *GetProgressBatchRequest) GetStreamIds() []uint32

func (*GetProgressBatchRequest) ProtoMessage

func (*GetProgressBatchRequest) ProtoMessage()

func (*GetProgressBatchRequest) ProtoReflect

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

func (*GetProgressBatchRequest) Reset

func (x *GetProgressBatchRequest) Reset()

func (*GetProgressBatchRequest) String

func (x *GetProgressBatchRequest) String() string

type GetProgressBatchResponse

type GetProgressBatchResponse struct {
	ProgressBatch []*StreamProgress `protobuf:"bytes,1,rep,name=progress_batch,json=progressBatch,proto3" json:"progress_batch,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProgressBatchResponse) Descriptor deprecated

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

Deprecated: Use GetProgressBatchResponse.ProtoReflect.Descriptor instead.

func (*GetProgressBatchResponse) GetProgressBatch

func (x *GetProgressBatchResponse) GetProgressBatch() []*StreamProgress

func (*GetProgressBatchResponse) ProtoMessage

func (*GetProgressBatchResponse) ProtoMessage()

func (*GetProgressBatchResponse) ProtoReflect

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

func (*GetProgressBatchResponse) Reset

func (x *GetProgressBatchResponse) Reset()

func (*GetProgressBatchResponse) String

func (x *GetProgressBatchResponse) String() string

type GetPublicCoursesRequest

type GetPublicCoursesRequest struct {
	Year uint32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	Term string `protobuf:"bytes,2,opt,name=term,proto3" json:"term,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPublicCoursesRequest) Descriptor deprecated

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

Deprecated: Use GetPublicCoursesRequest.ProtoReflect.Descriptor instead.

func (*GetPublicCoursesRequest) GetTerm

func (x *GetPublicCoursesRequest) GetTerm() string

func (*GetPublicCoursesRequest) GetYear

func (x *GetPublicCoursesRequest) GetYear() uint32

func (*GetPublicCoursesRequest) ProtoMessage

func (*GetPublicCoursesRequest) ProtoMessage()

func (*GetPublicCoursesRequest) ProtoReflect

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

func (*GetPublicCoursesRequest) Reset

func (x *GetPublicCoursesRequest) Reset()

func (*GetPublicCoursesRequest) String

func (x *GetPublicCoursesRequest) String() string

type GetPublicCoursesResponse

type GetPublicCoursesResponse struct {
	Courses []*Course `protobuf:"bytes,1,rep,name=courses,proto3" json:"courses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPublicCoursesResponse) Descriptor deprecated

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

Deprecated: Use GetPublicCoursesResponse.ProtoReflect.Descriptor instead.

func (*GetPublicCoursesResponse) GetCourses

func (x *GetPublicCoursesResponse) GetCourses() []*Course

func (*GetPublicCoursesResponse) ProtoMessage

func (*GetPublicCoursesResponse) ProtoMessage()

func (*GetPublicCoursesResponse) ProtoReflect

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

func (*GetPublicCoursesResponse) Reset

func (x *GetPublicCoursesResponse) Reset()

func (*GetPublicCoursesResponse) String

func (x *GetPublicCoursesResponse) String() string

type GetSemestersResponse

type GetSemestersResponse struct {
	Current   *Semester   `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"`
	Semesters []*Semester `protobuf:"bytes,2,rep,name=semesters,proto3" json:"semesters,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSemestersResponse) Descriptor deprecated

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

Deprecated: Use GetSemestersResponse.ProtoReflect.Descriptor instead.

func (*GetSemestersResponse) GetCurrent

func (x *GetSemestersResponse) GetCurrent() *Semester

func (*GetSemestersResponse) GetSemesters

func (x *GetSemestersResponse) GetSemesters() []*Semester

func (*GetSemestersResponse) ProtoMessage

func (*GetSemestersResponse) ProtoMessage()

func (*GetSemestersResponse) ProtoReflect

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

func (*GetSemestersResponse) Reset

func (x *GetSemestersResponse) Reset()

func (*GetSemestersResponse) String

func (x *GetSemestersResponse) String() string

type GetServerNotificationsResponse

type GetServerNotificationsResponse struct {
	ServerNotifications []*ServerNotification `protobuf:"bytes,1,rep,name=server_notifications,json=serverNotifications,proto3" json:"server_notifications,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerNotificationsResponse) Descriptor deprecated

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

Deprecated: Use GetServerNotificationsResponse.ProtoReflect.Descriptor instead.

func (*GetServerNotificationsResponse) GetServerNotifications

func (x *GetServerNotificationsResponse) GetServerNotifications() []*ServerNotification

func (*GetServerNotificationsResponse) ProtoMessage

func (*GetServerNotificationsResponse) ProtoMessage()

func (*GetServerNotificationsResponse) ProtoReflect

func (*GetServerNotificationsResponse) Reset

func (x *GetServerNotificationsResponse) Reset()

func (*GetServerNotificationsResponse) String

type GetStreamPlaylistRequest

type GetStreamPlaylistRequest struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Slug     string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreamPlaylistRequest) Descriptor deprecated

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

Deprecated: Use GetStreamPlaylistRequest.ProtoReflect.Descriptor instead.

func (*GetStreamPlaylistRequest) GetSlug

func (x *GetStreamPlaylistRequest) GetSlug() string

func (*GetStreamPlaylistRequest) GetStreamId

func (x *GetStreamPlaylistRequest) GetStreamId() uint32

func (*GetStreamPlaylistRequest) ProtoMessage

func (*GetStreamPlaylistRequest) ProtoMessage()

func (*GetStreamPlaylistRequest) ProtoReflect

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

func (*GetStreamPlaylistRequest) Reset

func (x *GetStreamPlaylistRequest) Reset()

func (*GetStreamPlaylistRequest) String

func (x *GetStreamPlaylistRequest) String() string

type GetStreamPlaylistResponse

type GetStreamPlaylistResponse struct {
	Entries []*StreamPlaylistEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreamPlaylistResponse) Descriptor deprecated

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

Deprecated: Use GetStreamPlaylistResponse.ProtoReflect.Descriptor instead.

func (*GetStreamPlaylistResponse) GetEntries

func (*GetStreamPlaylistResponse) ProtoMessage

func (*GetStreamPlaylistResponse) ProtoMessage()

func (*GetStreamPlaylistResponse) ProtoReflect

func (*GetStreamPlaylistResponse) Reset

func (x *GetStreamPlaylistResponse) Reset()

func (*GetStreamPlaylistResponse) String

func (x *GetStreamPlaylistResponse) String() string

type GetStreamRequest

type GetStreamRequest struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Slug     string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStreamRequest) Descriptor deprecated

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

Deprecated: Use GetStreamRequest.ProtoReflect.Descriptor instead.

func (*GetStreamRequest) GetSlug

func (x *GetStreamRequest) GetSlug() string

func (*GetStreamRequest) GetStreamId

func (x *GetStreamRequest) GetStreamId() uint32

func (*GetStreamRequest) ProtoMessage

func (*GetStreamRequest) ProtoMessage()

func (*GetStreamRequest) ProtoReflect

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

func (*GetStreamRequest) Reset

func (x *GetStreamRequest) Reset()

func (*GetStreamRequest) String

func (x *GetStreamRequest) String() string

type GetSubtitlesRequest

type GetSubtitlesRequest struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Lang     string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Slug     string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubtitlesRequest) Descriptor deprecated

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

Deprecated: Use GetSubtitlesRequest.ProtoReflect.Descriptor instead.

func (*GetSubtitlesRequest) GetLang

func (x *GetSubtitlesRequest) GetLang() string

func (*GetSubtitlesRequest) GetSlug

func (x *GetSubtitlesRequest) GetSlug() string

func (*GetSubtitlesRequest) GetStreamId

func (x *GetSubtitlesRequest) GetStreamId() uint32

func (*GetSubtitlesRequest) ProtoMessage

func (*GetSubtitlesRequest) ProtoMessage()

func (*GetSubtitlesRequest) ProtoReflect

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

func (*GetSubtitlesRequest) Reset

func (x *GetSubtitlesRequest) Reset()

func (*GetSubtitlesRequest) String

func (x *GetSubtitlesRequest) String() string

type GetSubtitlesResponse

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

func (*GetSubtitlesResponse) Descriptor deprecated

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

Deprecated: Use GetSubtitlesResponse.ProtoReflect.Descriptor instead.

func (*GetSubtitlesResponse) GetContent

func (x *GetSubtitlesResponse) GetContent() string

func (*GetSubtitlesResponse) ProtoMessage

func (*GetSubtitlesResponse) ProtoMessage()

func (*GetSubtitlesResponse) ProtoReflect

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

func (*GetSubtitlesResponse) Reset

func (x *GetSubtitlesResponse) Reset()

func (*GetSubtitlesResponse) String

func (x *GetSubtitlesResponse) String() string

type GetThumbsRequest

type GetThumbsRequest struct {
	StreamId  uint32     `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	ThumbType *VideoType `protobuf:"varint,2,opt,name=thumb_type,json=thumbType,proto3,enum=protobuf.VideoType,oneof" json:"thumb_type,omitempty"`
	Slug      string     `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetThumbsRequest) Descriptor deprecated

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

Deprecated: Use GetThumbsRequest.ProtoReflect.Descriptor instead.

func (*GetThumbsRequest) GetSlug

func (x *GetThumbsRequest) GetSlug() string

func (*GetThumbsRequest) GetStreamId

func (x *GetThumbsRequest) GetStreamId() uint32

func (*GetThumbsRequest) GetThumbType

func (x *GetThumbsRequest) GetThumbType() VideoType

func (*GetThumbsRequest) ProtoMessage

func (*GetThumbsRequest) ProtoMessage()

func (*GetThumbsRequest) ProtoReflect

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

func (*GetThumbsRequest) Reset

func (x *GetThumbsRequest) Reset()

func (*GetThumbsRequest) String

func (x *GetThumbsRequest) String() string

type GetUserCoursesRequest

type GetUserCoursesRequest struct {
	Year uint32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
	Term string `protobuf:"bytes,2,opt,name=term,proto3" json:"term,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserCoursesRequest) Descriptor deprecated

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

Deprecated: Use GetUserCoursesRequest.ProtoReflect.Descriptor instead.

func (*GetUserCoursesRequest) GetTerm

func (x *GetUserCoursesRequest) GetTerm() string

func (*GetUserCoursesRequest) GetYear

func (x *GetUserCoursesRequest) GetYear() uint32

func (*GetUserCoursesRequest) ProtoMessage

func (*GetUserCoursesRequest) ProtoMessage()

func (*GetUserCoursesRequest) ProtoReflect

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

func (*GetUserCoursesRequest) Reset

func (x *GetUserCoursesRequest) Reset()

func (*GetUserCoursesRequest) String

func (x *GetUserCoursesRequest) String() string

type GetUserCoursesResponse

type GetUserCoursesResponse struct {
	Courses []*Course `protobuf:"bytes,1,rep,name=courses,proto3" json:"courses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserCoursesResponse) Descriptor deprecated

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

Deprecated: Use GetUserCoursesResponse.ProtoReflect.Descriptor instead.

func (*GetUserCoursesResponse) GetCourses

func (x *GetUserCoursesResponse) GetCourses() []*Course

func (*GetUserCoursesResponse) ProtoMessage

func (*GetUserCoursesResponse) ProtoMessage()

func (*GetUserCoursesResponse) ProtoReflect

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

func (*GetUserCoursesResponse) Reset

func (x *GetUserCoursesResponse) Reset()

func (*GetUserCoursesResponse) String

func (x *GetUserCoursesResponse) String() string

type GetUserResponse

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

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

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 GetVideoSectionsRequest

type GetVideoSectionsRequest struct {
	StreamId uint32 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Slug     string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoSectionsRequest) Descriptor deprecated

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

Deprecated: Use GetVideoSectionsRequest.ProtoReflect.Descriptor instead.

func (*GetVideoSectionsRequest) GetSlug

func (x *GetVideoSectionsRequest) GetSlug() string

func (*GetVideoSectionsRequest) GetStreamId

func (x *GetVideoSectionsRequest) GetStreamId() uint32

func (*GetVideoSectionsRequest) ProtoMessage

func (*GetVideoSectionsRequest) ProtoMessage()

func (*GetVideoSectionsRequest) ProtoReflect

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

func (*GetVideoSectionsRequest) Reset

func (x *GetVideoSectionsRequest) Reset()

func (*GetVideoSectionsRequest) String

func (x *GetVideoSectionsRequest) String() string

type GetVideoSectionsResponse

type GetVideoSectionsResponse struct {
	Sections []*VideoSection `protobuf:"bytes,1,rep,name=sections,proto3" json:"sections,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVideoSectionsResponse) Descriptor deprecated

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

Deprecated: Use GetVideoSectionsResponse.ProtoReflect.Descriptor instead.

func (*GetVideoSectionsResponse) GetSections

func (x *GetVideoSectionsResponse) GetSections() []*VideoSection

func (*GetVideoSectionsResponse) ProtoMessage

func (*GetVideoSectionsResponse) ProtoMessage()

func (*GetVideoSectionsResponse) ProtoReflect

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

func (*GetVideoSectionsResponse) Reset

func (x *GetVideoSectionsResponse) Reset()

func (*GetVideoSectionsResponse) String

func (x *GetVideoSectionsResponse) String() string

type HealthCheckResponse

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

func (*HealthCheckResponse) Descriptor deprecated

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

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetStatus

func (x *HealthCheckResponse) GetStatus() string

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

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

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

type InfoPage added in v1.8.0

type InfoPage struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The page's route and API key. Unique; a client should treat changing it as
	// renaming the page's URL, not merely relabeling it.
	Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	// The editable display title, shown to administrators managing the page. Not
	// rendered on the page itself, which opens with its own Markdown heading.
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	RawContent string `protobuf:"bytes,4,opt,name=raw_content,json=rawContent,proto3" json:"raw_content,omitempty"`
	// contains filtered or unexported fields
}

InfoPage is a page as an administrator edits it, with its raw, unrendered content.

func (*InfoPage) Descriptor deprecated added in v1.8.0

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

Deprecated: Use InfoPage.ProtoReflect.Descriptor instead.

func (*InfoPage) GetId added in v1.8.0

func (x *InfoPage) GetId() uint32

func (*InfoPage) GetName added in v1.8.0

func (x *InfoPage) GetName() string

func (*InfoPage) GetRawContent added in v1.8.0

func (x *InfoPage) GetRawContent() string

func (*InfoPage) GetSlug added in v1.8.0

func (x *InfoPage) GetSlug() string

func (*InfoPage) ProtoMessage added in v1.8.0

func (*InfoPage) ProtoMessage()

func (*InfoPage) ProtoReflect added in v1.8.0

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

func (*InfoPage) Reset added in v1.8.0

func (x *InfoPage) Reset()

func (*InfoPage) String added in v1.8.0

func (x *InfoPage) String() string

type InfoPageSummary added in v1.8.0

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

InfoPageSummary is what a visitor is told exists, before asking for one by slug.

func (*InfoPageSummary) Descriptor deprecated added in v1.8.0

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

Deprecated: Use InfoPageSummary.ProtoReflect.Descriptor instead.

func (*InfoPageSummary) GetName added in v1.8.0

func (x *InfoPageSummary) GetName() string

func (*InfoPageSummary) GetSlug added in v1.8.0

func (x *InfoPageSummary) GetSlug() string

func (*InfoPageSummary) ProtoMessage added in v1.8.0

func (*InfoPageSummary) ProtoMessage()

func (*InfoPageSummary) ProtoReflect added in v1.8.0

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

func (*InfoPageSummary) Reset added in v1.8.0

func (x *InfoPageSummary) Reset()

func (*InfoPageSummary) String added in v1.8.0

func (x *InfoPageSummary) String() string

type IntegrationSummary added in v1.8.1

type IntegrationSummary struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ReturnUrl string `protobuf:"bytes,3,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"`
	HasKey    bool   `protobuf:"varint,4,opt,name=has_key,json=hasKey,proto3" json:"has_key,omitempty"`
	// contains filtered or unexported fields
}

func (*IntegrationSummary) Descriptor deprecated added in v1.8.1

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

Deprecated: Use IntegrationSummary.ProtoReflect.Descriptor instead.

func (*IntegrationSummary) GetHasKey added in v1.8.1

func (x *IntegrationSummary) GetHasKey() bool

func (*IntegrationSummary) GetId added in v1.8.1

func (x *IntegrationSummary) GetId() uint32

func (*IntegrationSummary) GetName added in v1.8.1

func (x *IntegrationSummary) GetName() string

func (*IntegrationSummary) GetReturnUrl added in v1.8.1

func (x *IntegrationSummary) GetReturnUrl() string

func (*IntegrationSummary) ProtoMessage added in v1.8.1

func (*IntegrationSummary) ProtoMessage()

func (*IntegrationSummary) ProtoReflect added in v1.8.1

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

func (*IntegrationSummary) Reset added in v1.8.1

func (x *IntegrationSummary) Reset()

func (*IntegrationSummary) String added in v1.8.1

func (x *IntegrationSummary) String() string

type LectureHall

type LectureHall struct {
	Id            uint32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CameraPresets []*CameraPreset `protobuf:"bytes,3,rep,name=camera_presets,json=cameraPresets,proto3" json:"camera_presets,omitempty"`
	// Where the room is, on whatever campus map the deployment points at. The live
	// lecture badge links to it.
	ExternalUrl string `protobuf:"bytes,4,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	// contains filtered or unexported fields
}

func (*LectureHall) Descriptor deprecated

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

Deprecated: Use LectureHall.ProtoReflect.Descriptor instead.

func (*LectureHall) GetCameraPresets

func (x *LectureHall) GetCameraPresets() []*CameraPreset

func (*LectureHall) GetExternalUrl added in v1.7.10

func (x *LectureHall) GetExternalUrl() string

func (*LectureHall) GetId

func (x *LectureHall) GetId() uint32

func (*LectureHall) GetName

func (x *LectureHall) GetName() string

func (*LectureHall) ProtoMessage

func (*LectureHall) ProtoMessage()

func (*LectureHall) ProtoReflect

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

func (*LectureHall) Reset

func (x *LectureHall) Reset()

func (*LectureHall) String

func (x *LectureHall) String() string

type ListInfoPagesAdminResponse added in v1.8.0

type ListInfoPagesAdminResponse struct {
	Pages []*InfoPage `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInfoPagesAdminResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ListInfoPagesAdminResponse.ProtoReflect.Descriptor instead.

func (*ListInfoPagesAdminResponse) GetPages added in v1.8.0

func (x *ListInfoPagesAdminResponse) GetPages() []*InfoPage

func (*ListInfoPagesAdminResponse) ProtoMessage added in v1.8.0

func (*ListInfoPagesAdminResponse) ProtoMessage()

func (*ListInfoPagesAdminResponse) ProtoReflect added in v1.8.0

func (*ListInfoPagesAdminResponse) Reset added in v1.8.0

func (x *ListInfoPagesAdminResponse) Reset()

func (*ListInfoPagesAdminResponse) String added in v1.8.0

func (x *ListInfoPagesAdminResponse) String() string

type ListInfoPagesResponse added in v1.8.0

type ListInfoPagesResponse struct {
	Pages []*InfoPageSummary `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInfoPagesResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ListInfoPagesResponse.ProtoReflect.Descriptor instead.

func (*ListInfoPagesResponse) GetPages added in v1.8.0

func (x *ListInfoPagesResponse) GetPages() []*InfoPageSummary

func (*ListInfoPagesResponse) ProtoMessage added in v1.8.0

func (*ListInfoPagesResponse) ProtoMessage()

func (*ListInfoPagesResponse) ProtoReflect added in v1.8.0

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

func (*ListInfoPagesResponse) Reset added in v1.8.0

func (x *ListInfoPagesResponse) Reset()

func (*ListInfoPagesResponse) String added in v1.8.0

func (x *ListInfoPagesResponse) String() string

type ListIntegrationsResponse added in v1.8.1

type ListIntegrationsResponse struct {
	Integrations []*IntegrationSummary `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIntegrationsResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use ListIntegrationsResponse.ProtoReflect.Descriptor instead.

func (*ListIntegrationsResponse) GetIntegrations added in v1.8.1

func (x *ListIntegrationsResponse) GetIntegrations() []*IntegrationSummary

func (*ListIntegrationsResponse) ProtoMessage added in v1.8.1

func (*ListIntegrationsResponse) ProtoMessage()

func (*ListIntegrationsResponse) ProtoReflect added in v1.8.1

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

func (*ListIntegrationsResponse) Reset added in v1.8.1

func (x *ListIntegrationsResponse) Reset()

func (*ListIntegrationsResponse) String added in v1.8.1

func (x *ListIntegrationsResponse) String() string

type ListMaintenanceCronJobsResponse added in v1.8.1

type ListMaintenanceCronJobsResponse struct {
	Jobs []string `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMaintenanceCronJobsResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use ListMaintenanceCronJobsResponse.ProtoReflect.Descriptor instead.

func (*ListMaintenanceCronJobsResponse) GetJobs added in v1.8.1

func (x *ListMaintenanceCronJobsResponse) GetJobs() []string

func (*ListMaintenanceCronJobsResponse) ProtoMessage added in v1.8.1

func (*ListMaintenanceCronJobsResponse) ProtoMessage()

func (*ListMaintenanceCronJobsResponse) ProtoReflect added in v1.8.1

func (*ListMaintenanceCronJobsResponse) Reset added in v1.8.1

func (*ListMaintenanceCronJobsResponse) String added in v1.8.1

type ListMaintenanceEmailFailuresResponse added in v1.8.1

type ListMaintenanceEmailFailuresResponse struct {
	Failures []*MaintenanceEmailFailure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMaintenanceEmailFailuresResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use ListMaintenanceEmailFailuresResponse.ProtoReflect.Descriptor instead.

func (*ListMaintenanceEmailFailuresResponse) GetFailures added in v1.8.1

func (*ListMaintenanceEmailFailuresResponse) ProtoMessage added in v1.8.1

func (*ListMaintenanceEmailFailuresResponse) ProtoMessage()

func (*ListMaintenanceEmailFailuresResponse) ProtoReflect added in v1.8.1

func (*ListMaintenanceEmailFailuresResponse) Reset added in v1.8.1

func (*ListMaintenanceEmailFailuresResponse) String added in v1.8.1

type ListMaintenanceTranscodingFailuresResponse added in v1.8.1

type ListMaintenanceTranscodingFailuresResponse struct {
	Failures []*MaintenanceTranscodingFailure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMaintenanceTranscodingFailuresResponse) Descriptor deprecated added in v1.8.1

Deprecated: Use ListMaintenanceTranscodingFailuresResponse.ProtoReflect.Descriptor instead.

func (*ListMaintenanceTranscodingFailuresResponse) GetFailures added in v1.8.1

func (*ListMaintenanceTranscodingFailuresResponse) ProtoMessage added in v1.8.1

func (*ListMaintenanceTranscodingFailuresResponse) ProtoReflect added in v1.8.1

func (*ListMaintenanceTranscodingFailuresResponse) Reset added in v1.8.1

func (*ListMaintenanceTranscodingFailuresResponse) String added in v1.8.1

type ListRunnersResponse added in v1.8.0

type ListRunnersResponse struct {
	Runners []*Runner `protobuf:"bytes,1,rep,name=runners,proto3" json:"runners,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRunnersResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ListRunnersResponse.ProtoReflect.Descriptor instead.

func (*ListRunnersResponse) GetRunners added in v1.8.0

func (x *ListRunnersResponse) GetRunners() []*Runner

func (*ListRunnersResponse) ProtoMessage added in v1.8.0

func (*ListRunnersResponse) ProtoMessage()

func (*ListRunnersResponse) ProtoReflect added in v1.8.0

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

func (*ListRunnersResponse) Reset added in v1.8.0

func (x *ListRunnersResponse) Reset()

func (*ListRunnersResponse) String added in v1.8.0

func (x *ListRunnersResponse) String() string

type ListUsersResponse added in v1.8.0

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

func (*ListUsersResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers added in v1.8.0

func (x *ListUsersResponse) GetUsers() []*UserSummary

func (*ListUsersResponse) ProtoMessage added in v1.8.0

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect added in v1.8.0

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

func (*ListUsersResponse) Reset added in v1.8.0

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v1.8.0

func (x *ListUsersResponse) String() string

type ListWorkersResponse added in v1.8.1

type ListWorkersResponse struct {
	Workers []*Worker `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"`
	// The token a new worker authenticates its gRPC registration with. Configuration,
	// not a per-caller secret -- server.administer already gates the whole page.
	WorkerToken string `protobuf:"bytes,2,opt,name=worker_token,json=workerToken,proto3" json:"worker_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkersResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use ListWorkersResponse.ProtoReflect.Descriptor instead.

func (*ListWorkersResponse) GetWorkerToken added in v1.8.1

func (x *ListWorkersResponse) GetWorkerToken() string

func (*ListWorkersResponse) GetWorkers added in v1.8.1

func (x *ListWorkersResponse) GetWorkers() []*Worker

func (*ListWorkersResponse) ProtoMessage added in v1.8.1

func (*ListWorkersResponse) ProtoMessage()

func (*ListWorkersResponse) ProtoReflect added in v1.8.1

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

func (*ListWorkersResponse) Reset added in v1.8.1

func (x *ListWorkersResponse) Reset()

func (*ListWorkersResponse) String added in v1.8.1

func (x *ListWorkersResponse) String() string

type MaintenanceEmailFailure added in v1.8.1

type MaintenanceEmailFailure struct {
	Id      uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	To      string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Body    string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	// RFC 3339, or empty when no attempt has been made yet.
	LastTry *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_try,json=lastTry,proto3" json:"last_try,omitempty"`
	Retries int32                  `protobuf:"varint,6,opt,name=retries,proto3" json:"retries,omitempty"`
	// One line per failed attempt.
	Errors string `protobuf:"bytes,7,opt,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

MaintenanceEmailFailure restates model.Email for a message that never sent.

func (*MaintenanceEmailFailure) Descriptor deprecated added in v1.8.1

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

Deprecated: Use MaintenanceEmailFailure.ProtoReflect.Descriptor instead.

func (*MaintenanceEmailFailure) GetBody added in v1.8.1

func (x *MaintenanceEmailFailure) GetBody() string

func (*MaintenanceEmailFailure) GetErrors added in v1.8.1

func (x *MaintenanceEmailFailure) GetErrors() string

func (*MaintenanceEmailFailure) GetId added in v1.8.1

func (x *MaintenanceEmailFailure) GetId() uint32

func (*MaintenanceEmailFailure) GetLastTry added in v1.8.1

func (*MaintenanceEmailFailure) GetRetries added in v1.8.1

func (x *MaintenanceEmailFailure) GetRetries() int32

func (*MaintenanceEmailFailure) GetSubject added in v1.8.1

func (x *MaintenanceEmailFailure) GetSubject() string

func (*MaintenanceEmailFailure) GetTo added in v1.8.1

func (x *MaintenanceEmailFailure) GetTo() string

func (*MaintenanceEmailFailure) ProtoMessage added in v1.8.1

func (*MaintenanceEmailFailure) ProtoMessage()

func (*MaintenanceEmailFailure) ProtoReflect added in v1.8.1

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

func (*MaintenanceEmailFailure) Reset added in v1.8.1

func (x *MaintenanceEmailFailure) Reset()

func (*MaintenanceEmailFailure) String added in v1.8.1

func (x *MaintenanceEmailFailure) String() string

type MaintenanceThumbnailStatus added in v1.8.1

type MaintenanceThumbnailStatus struct {
	Running  bool    `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"`
	Progress float32 `protobuf:"fixed32,2,opt,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

MaintenanceThumbnailStatus reports the state of the background regeneration job. progress is meaningless once running is false; a finished run resets it to zero rather than leaving it at 1, so a stale tab does not read a fresh run as complete.

func (*MaintenanceThumbnailStatus) Descriptor deprecated added in v1.8.1

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

Deprecated: Use MaintenanceThumbnailStatus.ProtoReflect.Descriptor instead.

func (*MaintenanceThumbnailStatus) GetProgress added in v1.8.1

func (x *MaintenanceThumbnailStatus) GetProgress() float32

func (*MaintenanceThumbnailStatus) GetRunning added in v1.8.1

func (x *MaintenanceThumbnailStatus) GetRunning() bool

func (*MaintenanceThumbnailStatus) ProtoMessage added in v1.8.1

func (*MaintenanceThumbnailStatus) ProtoMessage()

func (*MaintenanceThumbnailStatus) ProtoReflect added in v1.8.1

func (*MaintenanceThumbnailStatus) Reset added in v1.8.1

func (x *MaintenanceThumbnailStatus) Reset()

func (*MaintenanceThumbnailStatus) String added in v1.8.1

func (x *MaintenanceThumbnailStatus) String() string

type MaintenanceTranscodingFailure added in v1.8.1

type MaintenanceTranscodingFailure struct {
	Id       uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StreamId uint32 `protobuf:"varint,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// model.StreamVersion, e.g. "COMB", "CAM", "PRES".
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Formatted server-side (02.01.2006 15:04) so the page needs no locale logic.
	FriendlyTime string `protobuf:"bytes,4,opt,name=friendly_time,json=friendlyTime,proto3" json:"friendly_time,omitempty"`
	Hostname     string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"`
	FilePath     string `protobuf:"bytes,6,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	Logs         string `protobuf:"bytes,7,opt,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

MaintenanceTranscodingFailure restates model.TranscodingFailure for the admin page.

func (*MaintenanceTranscodingFailure) Descriptor deprecated added in v1.8.1

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

Deprecated: Use MaintenanceTranscodingFailure.ProtoReflect.Descriptor instead.

func (*MaintenanceTranscodingFailure) GetFilePath added in v1.8.1

func (x *MaintenanceTranscodingFailure) GetFilePath() string

func (*MaintenanceTranscodingFailure) GetFriendlyTime added in v1.8.1

func (x *MaintenanceTranscodingFailure) GetFriendlyTime() string

func (*MaintenanceTranscodingFailure) GetHostname added in v1.8.1

func (x *MaintenanceTranscodingFailure) GetHostname() string

func (*MaintenanceTranscodingFailure) GetId added in v1.8.1

func (*MaintenanceTranscodingFailure) GetLogs added in v1.8.1

func (*MaintenanceTranscodingFailure) GetStreamId added in v1.8.1

func (x *MaintenanceTranscodingFailure) GetStreamId() uint32

func (*MaintenanceTranscodingFailure) GetVersion added in v1.8.1

func (x *MaintenanceTranscodingFailure) GetVersion() string

func (*MaintenanceTranscodingFailure) ProtoMessage added in v1.8.1

func (*MaintenanceTranscodingFailure) ProtoMessage()

func (*MaintenanceTranscodingFailure) ProtoReflect added in v1.8.1

func (*MaintenanceTranscodingFailure) Reset added in v1.8.1

func (x *MaintenanceTranscodingFailure) Reset()

func (*MaintenanceTranscodingFailure) String added in v1.8.1

type MetaServiceClient added in v1.7.10

type MetaServiceClient interface {
	HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
	GetFrontendConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetFrontendConfigResponse, error)
	GetSemesters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSemestersResponse, error)
	GetNotifications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetNotificationsResponse, error)
	GetServerNotifications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetServerNotificationsResponse, error)
	GetInfoPage(ctx context.Context, in *GetInfoPageRequest, opts ...grpc.CallOption) (*GetInfoPageResponse, error)
	ListInfoPages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListInfoPagesResponse, error)
}

MetaServiceClient is the client API for MetaService 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.

Endpoints that describe the deployment rather than any resource in it.

func NewMetaServiceClient added in v1.7.10

func NewMetaServiceClient(cc grpc.ClientConnInterface) MetaServiceClient

type MetaServiceServer added in v1.7.10

type MetaServiceServer interface {
	HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
	GetFrontendConfig(context.Context, *emptypb.Empty) (*GetFrontendConfigResponse, error)
	GetSemesters(context.Context, *emptypb.Empty) (*GetSemestersResponse, error)
	GetNotifications(context.Context, *emptypb.Empty) (*GetNotificationsResponse, error)
	GetServerNotifications(context.Context, *emptypb.Empty) (*GetServerNotificationsResponse, error)
	GetInfoPage(context.Context, *GetInfoPageRequest) (*GetInfoPageResponse, error)
	ListInfoPages(context.Context, *emptypb.Empty) (*ListInfoPagesResponse, error)
	// contains filtered or unexported methods
}

MetaServiceServer is the server API for MetaService service. All implementations must embed UnimplementedMetaServiceServer for forward compatibility.

Endpoints that describe the deployment rather than any resource in it.

type NotificationTarget

type NotificationTarget int32

The user group a notification is shown to. The numbers deliberately match model.NotificationTarget, which starts at 1, so the two cannot drift; proto3 needs a zero value, and an unset target is not "everyone" but a bug, so it gets its own.

const (
	NotificationTarget_TARGET_UNSPECIFIED NotificationTarget = 0
	NotificationTarget_TARGET_ALL         NotificationTarget = 1
	NotificationTarget_TARGET_USER        NotificationTarget = 2
	NotificationTarget_TARGET_STUDENT     NotificationTarget = 3
	NotificationTarget_TARGET_LECTURER    NotificationTarget = 4
	NotificationTarget_TARGET_ADMIN       NotificationTarget = 5
)

func (NotificationTarget) Descriptor

func (NotificationTarget) Enum

func (NotificationTarget) EnumDescriptor deprecated

func (NotificationTarget) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotificationTarget.Descriptor instead.

func (NotificationTarget) Number

func (NotificationTarget) String

func (x NotificationTarget) String() string

func (NotificationTarget) Type

type PinCourseRequest

type PinCourseRequest struct {
	CourseId uint32 `protobuf:"varint,1,opt,name=course_id,json=courseId,proto3" json:"course_id,omitempty"`
	Pin      bool   `protobuf:"varint,2,opt,name=pin,proto3" json:"pin,omitempty"`
	// contains filtered or unexported fields
}

func (*PinCourseRequest) Descriptor deprecated

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

Deprecated: Use PinCourseRequest.ProtoReflect.Descriptor instead.

func (*PinCourseRequest) GetCourseId

func (x *PinCourseRequest) GetCourseId() uint32

func (*PinCourseRequest) GetPin

func (x *PinCourseRequest) GetPin() bool

func (*PinCourseRequest) ProtoMessage

func (*PinCourseRequest) ProtoMessage()

func (*PinCourseRequest) ProtoReflect

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

func (*PinCourseRequest) Reset

func (x *PinCourseRequest) Reset()

func (*PinCourseRequest) String

func (x *PinCourseRequest) String() string

type PinCourseResponse

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

func (*PinCourseResponse) Descriptor deprecated

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

Deprecated: Use PinCourseResponse.ProtoReflect.Descriptor instead.

func (*PinCourseResponse) GetMessage

func (x *PinCourseResponse) GetMessage() string

func (*PinCourseResponse) ProtoMessage

func (*PinCourseResponse) ProtoMessage()

func (*PinCourseResponse) ProtoReflect

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

func (*PinCourseResponse) Reset

func (x *PinCourseResponse) Reset()

func (*PinCourseResponse) String

func (x *PinCourseResponse) String() string

type ResetPasswordRequest

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

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetEmail

func (x *ResetPasswordRequest) GetEmail() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type ResetPasswordResponse

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

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) GetMessage

func (x *ResetPasswordResponse) GetMessage() string

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

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

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type RevokeIntegrationKeyRequest added in v1.8.1

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

func (*RevokeIntegrationKeyRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use RevokeIntegrationKeyRequest.ProtoReflect.Descriptor instead.

func (*RevokeIntegrationKeyRequest) GetId added in v1.8.1

func (*RevokeIntegrationKeyRequest) ProtoMessage added in v1.8.1

func (*RevokeIntegrationKeyRequest) ProtoMessage()

func (*RevokeIntegrationKeyRequest) ProtoReflect added in v1.8.1

func (*RevokeIntegrationKeyRequest) Reset added in v1.8.1

func (x *RevokeIntegrationKeyRequest) Reset()

func (*RevokeIntegrationKeyRequest) String added in v1.8.1

func (x *RevokeIntegrationKeyRequest) String() string

type RotateIntegrationKeyRequest added in v1.8.1

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

func (*RotateIntegrationKeyRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use RotateIntegrationKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateIntegrationKeyRequest) GetId added in v1.8.1

func (*RotateIntegrationKeyRequest) ProtoMessage added in v1.8.1

func (*RotateIntegrationKeyRequest) ProtoMessage()

func (*RotateIntegrationKeyRequest) ProtoReflect added in v1.8.1

func (*RotateIntegrationKeyRequest) Reset added in v1.8.1

func (x *RotateIntegrationKeyRequest) Reset()

func (*RotateIntegrationKeyRequest) String added in v1.8.1

func (x *RotateIntegrationKeyRequest) String() string

type RotateIntegrationKeyResponse added in v1.8.1

type RotateIntegrationKeyResponse struct {

	// Only returned by this rotation; replaces the previous key immediately.
	ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateIntegrationKeyResponse) Descriptor deprecated added in v1.8.1

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

Deprecated: Use RotateIntegrationKeyResponse.ProtoReflect.Descriptor instead.

func (*RotateIntegrationKeyResponse) GetApiKey added in v1.8.1

func (x *RotateIntegrationKeyResponse) GetApiKey() string

func (*RotateIntegrationKeyResponse) ProtoMessage added in v1.8.1

func (*RotateIntegrationKeyResponse) ProtoMessage()

func (*RotateIntegrationKeyResponse) ProtoReflect added in v1.8.1

func (*RotateIntegrationKeyResponse) Reset added in v1.8.1

func (x *RotateIntegrationKeyResponse) Reset()

func (*RotateIntegrationKeyResponse) String added in v1.8.1

type RunMaintenanceCronJobRequest added in v1.8.1

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

func (*RunMaintenanceCronJobRequest) Descriptor deprecated added in v1.8.1

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

Deprecated: Use RunMaintenanceCronJobRequest.ProtoReflect.Descriptor instead.

func (*RunMaintenanceCronJobRequest) GetJob added in v1.8.1

func (*RunMaintenanceCronJobRequest) ProtoMessage added in v1.8.1

func (*RunMaintenanceCronJobRequest) ProtoMessage()

func (*RunMaintenanceCronJobRequest) ProtoReflect added in v1.8.1

func (*RunMaintenanceCronJobRequest) Reset added in v1.8.1

func (x *RunMaintenanceCronJobRequest) Reset()

func (*RunMaintenanceCronJobRequest) String added in v1.8.1

type Runner added in v1.8.0

type Runner struct {

	// Runners are keyed by hostname; there is no numeric id.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Port     uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Derived from last_seen: dead after five seconds without a heartbeat. Sent
	// computed so a client cannot disagree with the scheduler.
	Alive bool `protobuf:"varint,4,opt,name=alive,proto3" json:"alive,omitempty"`
	// Jobs currently running, as of the last heartbeat.
	JobCount uint64 `protobuf:"varint,5,opt,name=job_count,json=jobCount,proto3" json:"job_count,omitempty"`
	// draining means the runner is shutting down and is being given no further jobs.
	Draining       bool                   `protobuf:"varint,6,opt,name=draining,proto3" json:"draining,omitempty"`
	LastSeen       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	TimeOfRegister *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=time_of_register,json=timeOfRegister,proto3" json:"time_of_register,omitempty"`
	// contains filtered or unexported fields
}

func (*Runner) Descriptor deprecated added in v1.8.0

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

Deprecated: Use Runner.ProtoReflect.Descriptor instead.

func (*Runner) GetAlive added in v1.8.0

func (x *Runner) GetAlive() bool

func (*Runner) GetDraining added in v1.8.0

func (x *Runner) GetDraining() bool

func (*Runner) GetHostname added in v1.8.0

func (x *Runner) GetHostname() string

func (*Runner) GetJobCount added in v1.8.0

func (x *Runner) GetJobCount() uint64

func (*Runner) GetLastSeen added in v1.8.0

func (x *Runner) GetLastSeen() *timestamppb.Timestamp

func (*Runner) GetPort added in v1.8.0

func (x *Runner) GetPort() uint32

func (*Runner) GetTimeOfRegister added in v1.8.0

func (x *Runner) GetTimeOfRegister() *timestamppb.Timestamp

func (*Runner) GetVersion added in v1.8.0

func (x *Runner) GetVersion() string

func (*Runner) ProtoMessage added in v1.8.0

func (*Runner) ProtoMessage()

func (*Runner) ProtoReflect added in v1.8.0

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

func (*Runner) Reset added in v1.8.0

func (x *Runner) Reset()

func (*Runner) String added in v1.8.0

func (x *Runner) String() string

type SearchUsersRequest added in v1.8.0

type SearchUsersRequest struct {

	// At least three characters unless role is set, so an empty box lists nobody.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// Restricts the search to one role. Absent means every role.
	Role *uint32 `protobuf:"varint,2,opt,name=role,proto3,oneof" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchUsersRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.

func (*SearchUsersRequest) GetQuery added in v1.8.0

func (x *SearchUsersRequest) GetQuery() string

func (*SearchUsersRequest) GetRole added in v1.8.0

func (x *SearchUsersRequest) GetRole() uint32

func (*SearchUsersRequest) ProtoMessage added in v1.8.0

func (*SearchUsersRequest) ProtoMessage()

func (*SearchUsersRequest) ProtoReflect added in v1.8.0

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

func (*SearchUsersRequest) Reset added in v1.8.0

func (x *SearchUsersRequest) Reset()

func (*SearchUsersRequest) String added in v1.8.0

func (x *SearchUsersRequest) String() string

type Semester

type Semester struct {
	TeachingTerm string `protobuf:"bytes,1,opt,name=teaching_term,json=teachingTerm,proto3" json:"teaching_term,omitempty"`
	Year         uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"`
	// contains filtered or unexported fields
}

func (*Semester) Descriptor deprecated

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

Deprecated: Use Semester.ProtoReflect.Descriptor instead.

func (*Semester) GetTeachingTerm

func (x *Semester) GetTeachingTerm() string

func (*Semester) GetYear

func (x *Semester) GetYear() uint32

func (*Semester) ProtoMessage

func (*Semester) ProtoMessage()

func (*Semester) ProtoReflect

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

func (*Semester) Reset

func (x *Semester) Reset()

func (*Semester) String

func (x *Semester) String() string

type ServerNotification

type ServerNotification struct {
	Text    string                 `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Warn    bool                   `protobuf:"varint,2,opt,name=warn,proto3" json:"warn,omitempty"`
	Start   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	Expires *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerNotification) Descriptor deprecated

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

Deprecated: Use ServerNotification.ProtoReflect.Descriptor instead.

func (*ServerNotification) GetExpires

func (x *ServerNotification) GetExpires() *timestamppb.Timestamp

func (*ServerNotification) GetStart

func (x *ServerNotification) GetStart() *timestamppb.Timestamp

func (*ServerNotification) GetText

func (x *ServerNotification) GetText() string

func (*ServerNotification) GetWarn

func (x *ServerNotification) GetWarn() bool

func (*ServerNotification) ProtoMessage

func (*ServerNotification) ProtoMessage()

func (*ServerNotification) ProtoReflect

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

func (*ServerNotification) Reset

func (x *ServerNotification) Reset()

func (*ServerNotification) String

func (x *ServerNotification) String() string

type Stream

type Stream struct {
	Id               uint32                 `protobuf:"varint,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"`
	CourseId         uint32                 `protobuf:"varint,4,opt,name=course_id,json=courseId,proto3" json:"course_id,omitempty"`
	Start            *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start,proto3" json:"start,omitempty"`
	End              *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end,proto3" json:"end,omitempty"`
	ChatEnabled      bool                   `protobuf:"varint,7,opt,name=chat_enabled,json=chatEnabled,proto3" json:"chat_enabled,omitempty"`
	RoomName         string                 `protobuf:"bytes,8,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
	RoomCode         string                 `protobuf:"bytes,9,opt,name=room_code,json=roomCode,proto3" json:"room_code,omitempty"`
	EventTypeName    string                 `protobuf:"bytes,10,opt,name=event_type_name,json=eventTypeName,proto3" json:"event_type_name,omitempty"`
	TumOnlineEventId uint32                 `protobuf:"varint,11,opt,name=tum_online_event_id,json=tumOnlineEventId,proto3" json:"tum_online_event_id,omitempty"`
	SeriesIdentifier string                 `protobuf:"bytes,12,opt,name=series_identifier,json=seriesIdentifier,proto3" json:"series_identifier,omitempty"`
	PlaylistUrl      string                 `protobuf:"bytes,13,opt,name=playlist_url,json=playlistUrl,proto3" json:"playlist_url,omitempty"`
	PlaylistUrlPres  string                 `protobuf:"bytes,14,opt,name=playlist_url_pres,json=playlistUrlPres,proto3" json:"playlist_url_pres,omitempty"`
	PlaylistUrlCam   string                 `protobuf:"bytes,15,opt,name=playlist_url_cam,json=playlistUrlCam,proto3" json:"playlist_url_cam,omitempty"`
	LiveNow          bool                   `protobuf:"varint,16,opt,name=liveNow,proto3" json:"liveNow,omitempty"`
	LiveNowTimestamp *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=live_now_timestamp,json=liveNowTimestamp,proto3" json:"live_now_timestamp,omitempty"`
	Recording        bool                   `protobuf:"varint,18,opt,name=recording,proto3" json:"recording,omitempty"`
	Premiere         bool                   `protobuf:"varint,19,opt,name=premiere,proto3" json:"premiere,omitempty"`
	Ended            bool                   `protobuf:"varint,20,opt,name=ended,proto3" json:"ended,omitempty"`
	VodViews         uint32                 `protobuf:"varint,21,opt,name=vod_views,json=vodViews,proto3" json:"vod_views,omitempty"`
	StartOffset      uint32                 `protobuf:"varint,22,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
	EndOffset        uint32                 `protobuf:"varint,23,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
	Duration         uint32                 `protobuf:"varint,28,opt,name=duration,proto3" json:"duration,omitempty"`
	Downloads        []*Download            `protobuf:"bytes,29,rep,name=downloads,proto3" json:"downloads,omitempty"`
	IsPlanned        bool                   `protobuf:"varint,30,opt,name=is_planned,json=isPlanned,proto3" json:"is_planned,omitempty"`
	IsComingUp       bool                   `protobuf:"varint,31,opt,name=is_coming_up,json=isComingUp,proto3" json:"is_coming_up,omitempty"`
	HlsUrl           string                 `protobuf:"bytes,32,opt,name=hls_url,json=hlsUrl,proto3" json:"hls_url,omitempty"`
	// False for a private lecture. Only a course administrator is ever sent one, so
	// this marks the lectures that the rest of the course cannot see.
	IsPubliclyVisible bool `protobuf:"varint,33,opt,name=is_publicly_visible,json=isPubliclyVisible,proto3" json:"is_publicly_visible,omitempty"`
	// contains filtered or unexported fields
}

func (*Stream) Descriptor deprecated

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

Deprecated: Use Stream.ProtoReflect.Descriptor instead.

func (*Stream) GetChatEnabled

func (x *Stream) GetChatEnabled() bool

func (*Stream) GetCourseId

func (x *Stream) GetCourseId() uint32

func (*Stream) GetDescription

func (x *Stream) GetDescription() string

func (*Stream) GetDownloads

func (x *Stream) GetDownloads() []*Download

func (*Stream) GetDuration

func (x *Stream) GetDuration() uint32

func (*Stream) GetEnd

func (x *Stream) GetEnd() *timestamppb.Timestamp

func (*Stream) GetEndOffset

func (x *Stream) GetEndOffset() uint32

func (*Stream) GetEnded

func (x *Stream) GetEnded() bool

func (*Stream) GetEventTypeName

func (x *Stream) GetEventTypeName() string

func (*Stream) GetHlsUrl

func (x *Stream) GetHlsUrl() string

func (*Stream) GetId

func (x *Stream) GetId() uint32

func (*Stream) GetIsComingUp

func (x *Stream) GetIsComingUp() bool

func (*Stream) GetIsPlanned

func (x *Stream) GetIsPlanned() bool

func (*Stream) GetIsPubliclyVisible added in v1.7.10

func (x *Stream) GetIsPubliclyVisible() bool

func (*Stream) GetLiveNow

func (x *Stream) GetLiveNow() bool

func (*Stream) GetLiveNowTimestamp

func (x *Stream) GetLiveNowTimestamp() *timestamppb.Timestamp

func (*Stream) GetName

func (x *Stream) GetName() string

func (*Stream) GetPlaylistUrl

func (x *Stream) GetPlaylistUrl() string

func (*Stream) GetPlaylistUrlCam

func (x *Stream) GetPlaylistUrlCam() string

func (*Stream) GetPlaylistUrlPres

func (x *Stream) GetPlaylistUrlPres() string

func (*Stream) GetPremiere

func (x *Stream) GetPremiere() bool

func (*Stream) GetRecording

func (x *Stream) GetRecording() bool

func (*Stream) GetRoomCode

func (x *Stream) GetRoomCode() string

func (*Stream) GetRoomName

func (x *Stream) GetRoomName() string

func (*Stream) GetSeriesIdentifier

func (x *Stream) GetSeriesIdentifier() string

func (*Stream) GetStart

func (x *Stream) GetStart() *timestamppb.Timestamp

func (*Stream) GetStartOffset

func (x *Stream) GetStartOffset() uint32

func (*Stream) GetTumOnlineEventId

func (x *Stream) GetTumOnlineEventId() uint32

func (*Stream) GetVodViews

func (x *Stream) GetVodViews() uint32

func (*Stream) ProtoMessage

func (*Stream) ProtoMessage()

func (*Stream) ProtoReflect

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

func (*Stream) Reset

func (x *Stream) Reset()

func (*Stream) String

func (x *Stream) String() string

type StreamPlaylistEntry

type StreamPlaylistEntry struct {
	StreamId       uint32                 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	CourseSlug     string                 `protobuf:"bytes,2,opt,name=course_slug,json=courseSlug,proto3" json:"course_slug,omitempty"`
	StreamName     string                 `protobuf:"bytes,3,opt,name=stream_name,json=streamName,proto3" json:"stream_name,omitempty"`
	LiveNow        bool                   `protobuf:"varint,4,opt,name=live_now,json=liveNow,proto3" json:"live_now,omitempty"`
	Watched        bool                   `protobuf:"varint,5,opt,name=watched,proto3" json:"watched,omitempty"`
	Start          *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"`
	StreamProgress *StreamProgress        `protobuf:"bytes,7,opt,name=stream_progress,json=streamProgress,proto3" json:"stream_progress,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamPlaylistEntry) Descriptor deprecated

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

Deprecated: Use StreamPlaylistEntry.ProtoReflect.Descriptor instead.

func (*StreamPlaylistEntry) GetCourseSlug

func (x *StreamPlaylistEntry) GetCourseSlug() string

func (*StreamPlaylistEntry) GetCreatedAt

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

func (*StreamPlaylistEntry) GetLiveNow

func (x *StreamPlaylistEntry) GetLiveNow() bool

func (*StreamPlaylistEntry) GetStart

func (x *StreamPlaylistEntry) GetStart() *timestamppb.Timestamp

func (*StreamPlaylistEntry) GetStreamId

func (x *StreamPlaylistEntry) GetStreamId() uint32

func (*StreamPlaylistEntry) GetStreamName

func (x *StreamPlaylistEntry) GetStreamName() string

func (*StreamPlaylistEntry) GetStreamProgress

func (x *StreamPlaylistEntry) GetStreamProgress() *StreamProgress

func (*StreamPlaylistEntry) GetWatched

func (x *StreamPlaylistEntry) GetWatched() bool

func (*StreamPlaylistEntry) ProtoMessage

func (*StreamPlaylistEntry) ProtoMessage()

func (*StreamPlaylistEntry) ProtoReflect

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

func (*StreamPlaylistEntry) Reset

func (x *StreamPlaylistEntry) Reset()

func (*StreamPlaylistEntry) String

func (x *StreamPlaylistEntry) String() string

type StreamProgress

type StreamProgress struct {
	StreamId uint32  `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Progress float32 `protobuf:"fixed32,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Watched  bool    `protobuf:"varint,3,opt,name=watched,proto3" json:"watched,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamProgress) Descriptor deprecated

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

Deprecated: Use StreamProgress.ProtoReflect.Descriptor instead.

func (*StreamProgress) GetProgress

func (x *StreamProgress) GetProgress() float32

func (*StreamProgress) GetStreamId

func (x *StreamProgress) GetStreamId() uint32

func (*StreamProgress) GetWatched

func (x *StreamProgress) GetWatched() bool

func (*StreamProgress) ProtoMessage

func (*StreamProgress) ProtoMessage()

func (*StreamProgress) ProtoReflect

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

func (*StreamProgress) Reset

func (x *StreamProgress) Reset()

func (*StreamProgress) String

func (x *StreamProgress) String() string

type StreamServiceClient added in v1.7.10

type StreamServiceClient interface {
	GetStream(ctx context.Context, in *GetStreamRequest, opts ...grpc.CallOption) (*CourseStream, error)
	GetVideoSections(ctx context.Context, in *GetVideoSectionsRequest, opts ...grpc.CallOption) (*GetVideoSectionsResponse, error)
	GetStreamPlaylist(ctx context.Context, in *GetStreamPlaylistRequest, opts ...grpc.CallOption) (*GetStreamPlaylistResponse, error)
	GetSubtitles(ctx context.Context, in *GetSubtitlesRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	GetThumbs(ctx context.Context, in *GetThumbsRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
	GetProgressBatch(ctx context.Context, in *GetProgressBatchRequest, opts ...grpc.CallOption) (*GetProgressBatchResponse, error)
	UpdateProgress(ctx context.Context, in *UpdateProgressRequest, opts ...grpc.CallOption) (*StreamProgress, error)
	AddBookmark(ctx context.Context, in *AddBookmarkRequest, opts ...grpc.CallOption) (*AddBookmarkResponse, error)
	GetBookmarks(ctx context.Context, in *GetBookmarksRequest, opts ...grpc.CallOption) (*GetBookmarksResponse, error)
	UpdateBookmark(ctx context.Context, in *UpdateBookmarkRequest, opts ...grpc.CallOption) (*UpdateBookmarkResponse, error)
	DeleteBookmark(ctx context.Context, in *DeleteBookmarkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

StreamServiceClient is the client API for StreamService 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.

Individual streams and everything scoped to one: sections, subtitles, thumbnails, watch progress and bookmarks.

func NewStreamServiceClient added in v1.7.10

func NewStreamServiceClient(cc grpc.ClientConnInterface) StreamServiceClient

type StreamServiceServer added in v1.7.10

StreamServiceServer is the server API for StreamService service. All implementations must embed UnimplementedStreamServiceServer for forward compatibility.

Individual streams and everything scoped to one: sections, subtitles, thumbnails, watch progress and bookmarks.

type UnimplementedAdminServiceServer added in v1.8.0

type UnimplementedAdminServiceServer struct{}

UnimplementedAdminServiceServer 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 (UnimplementedAdminServiceServer) CreateInfoPage added in v1.8.0

func (UnimplementedAdminServiceServer) CreateIntegration added in v1.8.1

func (UnimplementedAdminServiceServer) CreateUser added in v1.8.0

func (UnimplementedAdminServiceServer) DeleteInfoPage added in v1.8.0

func (UnimplementedAdminServiceServer) DeleteMaintenanceEmailFailure added in v1.8.1

func (UnimplementedAdminServiceServer) DeleteMaintenanceTranscodingFailure added in v1.8.1

func (UnimplementedAdminServiceServer) DeleteRunner added in v1.8.0

func (UnimplementedAdminServiceServer) DeleteUser added in v1.8.0

func (UnimplementedAdminServiceServer) DeleteWorker added in v1.8.1

func (UnimplementedAdminServiceServer) GenerateMaintenanceThumbnails added in v1.8.1

func (UnimplementedAdminServiceServer) GetMaintenanceThumbnailStatus added in v1.8.1

func (UnimplementedAdminServiceServer) ListInfoPagesAdmin added in v1.8.0

func (UnimplementedAdminServiceServer) ListIntegrations added in v1.8.1

func (UnimplementedAdminServiceServer) ListMaintenanceCronJobs added in v1.8.1

func (UnimplementedAdminServiceServer) ListMaintenanceEmailFailures added in v1.8.1

func (UnimplementedAdminServiceServer) ListMaintenanceTranscodingFailures added in v1.8.1

func (UnimplementedAdminServiceServer) ListRunners added in v1.8.0

func (UnimplementedAdminServiceServer) ListStaff added in v1.8.0

func (UnimplementedAdminServiceServer) ListWorkers added in v1.8.1

func (UnimplementedAdminServiceServer) RevokeIntegrationKey added in v1.8.1

func (UnimplementedAdminServiceServer) RotateIntegrationKey added in v1.8.1

func (UnimplementedAdminServiceServer) RunMaintenanceCronJob added in v1.8.1

func (UnimplementedAdminServiceServer) SearchUsers added in v1.8.0

func (UnimplementedAdminServiceServer) UpdateInfoPage added in v1.8.0

func (UnimplementedAdminServiceServer) UpdateUserRole added in v1.8.0

type UnimplementedCourseServiceServer added in v1.7.10

type UnimplementedCourseServiceServer struct{}

UnimplementedCourseServiceServer 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 (UnimplementedCourseServiceServer) GetCourseBySlug added in v1.7.10

func (UnimplementedCourseServiceServer) GetLiveCourses added in v1.7.10

func (UnimplementedCourseServiceServer) GetPinForCourse added in v1.7.10

func (UnimplementedCourseServiceServer) GetPinnedCourses added in v1.7.10

func (UnimplementedCourseServiceServer) GetPublicCourses added in v1.7.10

func (UnimplementedCourseServiceServer) GetUserCourses added in v1.7.10

func (UnimplementedCourseServiceServer) PinCourse added in v1.7.10

type UnimplementedMetaServiceServer added in v1.7.10

type UnimplementedMetaServiceServer struct{}

UnimplementedMetaServiceServer 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 (UnimplementedMetaServiceServer) GetFrontendConfig added in v1.7.10

func (UnimplementedMetaServiceServer) GetInfoPage added in v1.8.0

func (UnimplementedMetaServiceServer) GetNotifications added in v1.7.10

func (UnimplementedMetaServiceServer) GetSemesters added in v1.7.10

func (UnimplementedMetaServiceServer) GetServerNotifications added in v1.7.10

func (UnimplementedMetaServiceServer) HealthCheck added in v1.7.10

func (UnimplementedMetaServiceServer) ListInfoPages added in v1.8.0

type UnimplementedStreamServiceServer added in v1.7.10

type UnimplementedStreamServiceServer struct{}

UnimplementedStreamServiceServer 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 (UnimplementedStreamServiceServer) AddBookmark added in v1.7.10

func (UnimplementedStreamServiceServer) DeleteBookmark added in v1.7.10

func (UnimplementedStreamServiceServer) GetBookmarks added in v1.7.10

func (UnimplementedStreamServiceServer) GetProgressBatch added in v1.7.10

func (UnimplementedStreamServiceServer) GetStream added in v1.7.10

func (UnimplementedStreamServiceServer) GetStreamPlaylist added in v1.7.10

func (UnimplementedStreamServiceServer) GetSubtitles added in v1.7.10

func (UnimplementedStreamServiceServer) GetThumbs added in v1.7.10

func (UnimplementedStreamServiceServer) GetVideoSections added in v1.7.10

func (UnimplementedStreamServiceServer) UpdateBookmark added in v1.7.10

func (UnimplementedStreamServiceServer) UpdateProgress added in v1.7.10

type UnimplementedUserServiceServer added in v1.7.10

type UnimplementedUserServiceServer struct{}

UnimplementedUserServiceServer 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 (UnimplementedUserServiceServer) ExportPersonalData added in v1.7.10

func (UnimplementedUserServiceServer) GetLoginOptions added in v1.7.10

func (UnimplementedUserServiceServer) GetUser added in v1.7.10

func (UnimplementedUserServiceServer) ResetPassword added in v1.7.10

func (UnimplementedUserServiceServer) UpdateUserSettings added in v1.7.10

type UnsafeAdminServiceServer added in v1.8.0

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

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

type UnsafeCourseServiceServer added in v1.7.10

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

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

type UnsafeMetaServiceServer added in v1.7.10

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

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

type UnsafeStreamServiceServer added in v1.7.10

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

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

type UnsafeUserServiceServer added in v1.7.10

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 UpdateBookmarkRequest

type UpdateBookmarkRequest struct {
	BookmarkId  uint32 `protobuf:"varint,1,opt,name=bookmark_id,json=bookmarkId,proto3" json:"bookmark_id,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Hours       uint32 `protobuf:"varint,3,opt,name=hours,proto3" json:"hours,omitempty"`
	Minutes     uint32 `protobuf:"varint,4,opt,name=minutes,proto3" json:"minutes,omitempty"`
	Seconds     uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookmarkRequest) Descriptor deprecated

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

Deprecated: Use UpdateBookmarkRequest.ProtoReflect.Descriptor instead.

func (*UpdateBookmarkRequest) GetBookmarkId

func (x *UpdateBookmarkRequest) GetBookmarkId() uint32

func (*UpdateBookmarkRequest) GetDescription

func (x *UpdateBookmarkRequest) GetDescription() string

func (*UpdateBookmarkRequest) GetHours

func (x *UpdateBookmarkRequest) GetHours() uint32

func (*UpdateBookmarkRequest) GetMinutes

func (x *UpdateBookmarkRequest) GetMinutes() uint32

func (*UpdateBookmarkRequest) GetSeconds

func (x *UpdateBookmarkRequest) GetSeconds() uint32

func (*UpdateBookmarkRequest) ProtoMessage

func (*UpdateBookmarkRequest) ProtoMessage()

func (*UpdateBookmarkRequest) ProtoReflect

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

func (*UpdateBookmarkRequest) Reset

func (x *UpdateBookmarkRequest) Reset()

func (*UpdateBookmarkRequest) String

func (x *UpdateBookmarkRequest) String() string

type UpdateBookmarkResponse

type UpdateBookmarkResponse struct {
	Bookmark *Bookmark `protobuf:"bytes,1,opt,name=bookmark,proto3" json:"bookmark,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBookmarkResponse) Descriptor deprecated

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

Deprecated: Use UpdateBookmarkResponse.ProtoReflect.Descriptor instead.

func (*UpdateBookmarkResponse) GetBookmark

func (x *UpdateBookmarkResponse) GetBookmark() *Bookmark

func (*UpdateBookmarkResponse) ProtoMessage

func (*UpdateBookmarkResponse) ProtoMessage()

func (*UpdateBookmarkResponse) ProtoReflect

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

func (*UpdateBookmarkResponse) Reset

func (x *UpdateBookmarkResponse) Reset()

func (*UpdateBookmarkResponse) String

func (x *UpdateBookmarkResponse) String() string

type UpdateInfoPageRequest added in v1.8.0

type UpdateInfoPageRequest struct {
	Id         uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Slug       string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	RawContent string `protobuf:"bytes,4,opt,name=raw_content,json=rawContent,proto3" json:"raw_content,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInfoPageRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use UpdateInfoPageRequest.ProtoReflect.Descriptor instead.

func (*UpdateInfoPageRequest) GetId added in v1.8.0

func (x *UpdateInfoPageRequest) GetId() uint32

func (*UpdateInfoPageRequest) GetName added in v1.8.0

func (x *UpdateInfoPageRequest) GetName() string

func (*UpdateInfoPageRequest) GetRawContent added in v1.8.0

func (x *UpdateInfoPageRequest) GetRawContent() string

func (*UpdateInfoPageRequest) GetSlug added in v1.8.0

func (x *UpdateInfoPageRequest) GetSlug() string

func (*UpdateInfoPageRequest) ProtoMessage added in v1.8.0

func (*UpdateInfoPageRequest) ProtoMessage()

func (*UpdateInfoPageRequest) ProtoReflect added in v1.8.0

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

func (*UpdateInfoPageRequest) Reset added in v1.8.0

func (x *UpdateInfoPageRequest) Reset()

func (*UpdateInfoPageRequest) String added in v1.8.0

func (x *UpdateInfoPageRequest) String() string

type UpdateProgressRequest

type UpdateProgressRequest struct {
	StreamId uint32  `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Progress float32 `protobuf:"fixed32,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Watched  bool    `protobuf:"varint,3,opt,name=watched,proto3" json:"watched,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProgressRequest) Descriptor deprecated

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

Deprecated: Use UpdateProgressRequest.ProtoReflect.Descriptor instead.

func (*UpdateProgressRequest) GetProgress

func (x *UpdateProgressRequest) GetProgress() float32

func (*UpdateProgressRequest) GetStreamId

func (x *UpdateProgressRequest) GetStreamId() uint32

func (*UpdateProgressRequest) GetWatched

func (x *UpdateProgressRequest) GetWatched() bool

func (*UpdateProgressRequest) ProtoMessage

func (*UpdateProgressRequest) ProtoMessage()

func (*UpdateProgressRequest) ProtoReflect

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

func (*UpdateProgressRequest) Reset

func (x *UpdateProgressRequest) Reset()

func (*UpdateProgressRequest) String

func (x *UpdateProgressRequest) String() string

type UpdateUserRoleRequest added in v1.8.0

type UpdateUserRoleRequest struct {
	UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Role   uint32 `protobuf:"varint,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use UpdateUserRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleRequest) GetRole added in v1.8.0

func (x *UpdateUserRoleRequest) GetRole() uint32

func (*UpdateUserRoleRequest) GetUserId added in v1.8.0

func (x *UpdateUserRoleRequest) GetUserId() uint32

func (*UpdateUserRoleRequest) ProtoMessage added in v1.8.0

func (*UpdateUserRoleRequest) ProtoMessage()

func (*UpdateUserRoleRequest) ProtoReflect added in v1.8.0

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

func (*UpdateUserRoleRequest) Reset added in v1.8.0

func (x *UpdateUserRoleRequest) Reset()

func (*UpdateUserRoleRequest) String added in v1.8.0

func (x *UpdateUserRoleRequest) String() string

type UpdateUserSettingsRequest

type UpdateUserSettingsRequest struct {
	UserSettings []*UserSetting `protobuf:"bytes,1,rep,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserSettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingsRequest) GetUserSettings

func (x *UpdateUserSettingsRequest) GetUserSettings() []*UserSetting

func (*UpdateUserSettingsRequest) ProtoMessage

func (*UpdateUserSettingsRequest) ProtoMessage()

func (*UpdateUserSettingsRequest) ProtoReflect

func (*UpdateUserSettingsRequest) Reset

func (x *UpdateUserSettingsRequest) Reset()

func (*UpdateUserSettingsRequest) String

func (x *UpdateUserSettingsRequest) String() string

type UpdateUserSettingsResponse

type UpdateUserSettingsResponse struct {
	UserSettings []*UserSetting `protobuf:"bytes,1,rep,name=user_settings,json=userSettings,proto3" json:"user_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserSettingsResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserSettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserSettingsResponse) GetUserSettings

func (x *UpdateUserSettingsResponse) GetUserSettings() []*UserSetting

func (*UpdateUserSettingsResponse) ProtoMessage

func (*UpdateUserSettingsResponse) ProtoMessage()

func (*UpdateUserSettingsResponse) ProtoReflect

func (*UpdateUserSettingsResponse) Reset

func (x *UpdateUserSettingsResponse) Reset()

func (*UpdateUserSettingsResponse) String

func (x *UpdateUserSettingsResponse) String() string

type User

type User struct {
	Id                  uint32                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	LastName            string                 `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Email               string                 `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	MatriculationNumber string                 `protobuf:"bytes,5,opt,name=matriculation_number,json=matriculationNumber,proto3" json:"matriculation_number,omitempty"`
	LrzId               string                 `protobuf:"bytes,6,opt,name=lrz_id,json=lrzId,proto3" json:"lrz_id,omitempty"`
	Role                uint32                 `protobuf:"varint,7,opt,name=role,proto3" json:"role,omitempty"`
	Courses             []*Course              `protobuf:"bytes,8,rep,name=courses,proto3" json:"courses,omitempty"`
	AdministeredCourses []*Course              `protobuf:"bytes,9,rep,name=administered_courses,json=administeredCourses,proto3" json:"administered_courses,omitempty"`
	PinnedCourses       []*Course              `protobuf:"bytes,10,rep,name=pinned_courses,json=pinnedCourses,proto3" json:"pinned_courses,omitempty"`
	Settings            []*UserSetting         `protobuf:"bytes,11,rep,name=settings,proto3" json:"settings,omitempty"`
	Bookmarks           []*Bookmark            `protobuf:"bytes,12,rep,name=bookmarks,proto3" json:"bookmarks,omitempty"`
	CreatedAt           *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// What this user may do, as model/permissions.go spells it, so a client need not
	// know which role holds what. Not a substitute for the server's own checks.
	Permissions []string `protobuf:"bytes,14,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAdministeredCourses

func (x *User) GetAdministeredCourses() []*Course

func (*User) GetBookmarks

func (x *User) GetBookmarks() []*Bookmark

func (*User) GetCourses

func (x *User) GetCourses() []*Course

func (*User) GetCreatedAt

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

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() uint32

func (*User) GetLastName

func (x *User) GetLastName() string

func (*User) GetLrzId

func (x *User) GetLrzId() string

func (*User) GetMatriculationNumber

func (x *User) GetMatriculationNumber() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPermissions added in v1.8.0

func (x *User) GetPermissions() []string

func (*User) GetPinnedCourses

func (x *User) GetPinnedCourses() []*Course

func (*User) GetRole

func (x *User) GetRole() uint32

func (*User) GetSettings

func (x *User) GetSettings() []*UserSetting

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserGroupNotification

type UserGroupNotification struct {
	Title     string                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Body      string                 `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Target    NotificationTarget     `protobuf:"varint,3,opt,name=target,proto3,enum=protobuf.NotificationTarget" json:"target,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGroupNotification) Descriptor deprecated

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

Deprecated: Use UserGroupNotification.ProtoReflect.Descriptor instead.

func (*UserGroupNotification) GetBody

func (x *UserGroupNotification) GetBody() string

func (*UserGroupNotification) GetCreatedAt

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

func (*UserGroupNotification) GetTarget

func (*UserGroupNotification) GetTitle

func (x *UserGroupNotification) GetTitle() string

func (*UserGroupNotification) ProtoMessage

func (*UserGroupNotification) ProtoMessage()

func (*UserGroupNotification) ProtoReflect

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

func (*UserGroupNotification) Reset

func (x *UserGroupNotification) Reset()

func (*UserGroupNotification) String

func (x *UserGroupNotification) String() string

type UserServiceClient added in v1.7.10

type UserServiceClient interface {
	GetUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserResponse, error)
	UpdateUserSettings(ctx context.Context, in *UpdateUserSettingsRequest, opts ...grpc.CallOption) (*UpdateUserSettingsResponse, error)
	ExportPersonalData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ExportPersonalDataResponse, error)
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error)
	GetLoginOptions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLoginOptionsResponse, 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.

The signed-in user's own account, and the endpoints the login page needs before anyone is signed in.

func NewUserServiceClient added in v1.7.10

func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient

type UserServiceServer added in v1.7.10

type UserServiceServer interface {
	GetUser(context.Context, *emptypb.Empty) (*GetUserResponse, error)
	UpdateUserSettings(context.Context, *UpdateUserSettingsRequest) (*UpdateUserSettingsResponse, error)
	ExportPersonalData(context.Context, *emptypb.Empty) (*ExportPersonalDataResponse, error)
	ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
	GetLoginOptions(context.Context, *emptypb.Empty) (*GetLoginOptionsResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility.

The signed-in user's own account, and the endpoints the login page needs before anyone is signed in.

type UserSetting

type UserSetting struct {
	Type  UserSettingType `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.UserSettingType" json:"type,omitempty"`
	Value string          `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSetting) Descriptor deprecated

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

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetType

func (x *UserSetting) GetType() UserSettingType

func (*UserSetting) GetValue

func (x *UserSetting) GetValue() string

func (*UserSetting) ProtoMessage

func (*UserSetting) ProtoMessage()

func (*UserSetting) ProtoReflect

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

func (*UserSetting) Reset

func (x *UserSetting) Reset()

func (*UserSetting) String

func (x *UserSetting) String() string

type UserSettingType

type UserSettingType int32

UserSettingType identifies a single user preference.

The values are model.UserSettingType - 1 (see apiv2/helpers/parser.go), so this enum has to stay aligned with the constants in model/user.go. Values were previously unnamed beyond CUSTOM_PLAYBACK_SPEEDS and travelled as bare numbers.

const (
	UserSettingType_PREFERRED_NAME UserSettingType = 0
	UserSettingType_GREETING       UserSettingType = 1
	// The per-speed enabled flags, stored as a JSON array.
	UserSettingType_CUSTOM_PLAYBACK_SPEEDS UserSettingType = 2
	UserSettingType_SEEKING_TIME           UserSettingType = 3
	// Speeds the user added themselves, stored as a JSON array.
	UserSettingType_USER_DEFINED_SPEEDS UserSettingType = 4
	UserSettingType_AUTO_SKIP           UserSettingType = 5
	// Mirrors model.defaultMode, which is no longer used. Present only to keep the
	// numbering aligned with model.UserSettingType.
	//
	// Deprecated: Marked as deprecated in server/apiv2.proto.
	UserSettingType_DEFAULT_MODE UserSettingType = 6
	UserSettingType_LECTURE_VIEW UserSettingType = 7
)

func (UserSettingType) Descriptor

func (UserSettingType) Enum

func (x UserSettingType) Enum() *UserSettingType

func (UserSettingType) EnumDescriptor deprecated

func (UserSettingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserSettingType.Descriptor instead.

func (UserSettingType) Number

func (UserSettingType) String

func (x UserSettingType) String() string

func (UserSettingType) Type

type UserSummary added in v1.8.0

type UserSummary struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Masked on the endpoints that say so; a property of the endpoint, not the message.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	LrzId string `protobuf:"bytes,4,opt,name=lrz_id,json=lrzId,proto3" json:"lrz_id,omitempty"`
	Role  uint32 `protobuf:"varint,5,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

UserSummary is an account as the administration pages list it: who they are and what they may do, without the courses, settings and bookmarks that make up User.

func (*UserSummary) Descriptor deprecated added in v1.8.0

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

Deprecated: Use UserSummary.ProtoReflect.Descriptor instead.

func (*UserSummary) GetEmail added in v1.8.0

func (x *UserSummary) GetEmail() string

func (*UserSummary) GetId added in v1.8.0

func (x *UserSummary) GetId() uint32

func (*UserSummary) GetLrzId added in v1.8.0

func (x *UserSummary) GetLrzId() string

func (*UserSummary) GetName added in v1.8.0

func (x *UserSummary) GetName() string

func (*UserSummary) GetRole added in v1.8.0

func (x *UserSummary) GetRole() uint32

func (*UserSummary) ProtoMessage added in v1.8.0

func (*UserSummary) ProtoMessage()

func (*UserSummary) ProtoReflect added in v1.8.0

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

func (*UserSummary) Reset added in v1.8.0

func (x *UserSummary) Reset()

func (*UserSummary) String added in v1.8.0

func (x *UserSummary) String() string

type VideoSection

type VideoSection struct {
	Description  string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	StartHours   uint32 `protobuf:"varint,2,opt,name=start_hours,json=startHours,proto3" json:"start_hours,omitempty"`
	StartMinutes uint32 `protobuf:"varint,3,opt,name=start_minutes,json=startMinutes,proto3" json:"start_minutes,omitempty"`
	StartSeconds uint32 `protobuf:"varint,4,opt,name=start_seconds,json=startSeconds,proto3" json:"start_seconds,omitempty"`
	StreamId     uint32 `protobuf:"varint,5,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	FileId       uint32 `protobuf:"varint,6,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VideoSection) Descriptor deprecated

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

Deprecated: Use VideoSection.ProtoReflect.Descriptor instead.

func (*VideoSection) GetDescription

func (x *VideoSection) GetDescription() string

func (*VideoSection) GetFileId

func (x *VideoSection) GetFileId() uint32

func (*VideoSection) GetStartHours

func (x *VideoSection) GetStartHours() uint32

func (*VideoSection) GetStartMinutes

func (x *VideoSection) GetStartMinutes() uint32

func (*VideoSection) GetStartSeconds

func (x *VideoSection) GetStartSeconds() uint32

func (*VideoSection) GetStreamId

func (x *VideoSection) GetStreamId() uint32

func (*VideoSection) ProtoMessage

func (*VideoSection) ProtoMessage()

func (*VideoSection) ProtoReflect

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

func (*VideoSection) Reset

func (x *VideoSection) Reset()

func (*VideoSection) String

func (x *VideoSection) String() string

type VideoType

type VideoType int32
const (
	VideoType_COMB VideoType = 0
	VideoType_PRES VideoType = 1
	VideoType_CAM  VideoType = 2
)

func (VideoType) Descriptor

func (VideoType) Descriptor() protoreflect.EnumDescriptor

func (VideoType) Enum

func (x VideoType) Enum() *VideoType

func (VideoType) EnumDescriptor deprecated

func (VideoType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VideoType.Descriptor instead.

func (VideoType) Number

func (x VideoType) Number() protoreflect.EnumNumber

func (VideoType) String

func (x VideoType) String() string

func (VideoType) Type

type VideoView

type VideoView struct {
	StreamId       uint32  `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Progress       float32 `protobuf:"fixed32,2,opt,name=progress,proto3" json:"progress,omitempty"`
	MarkedFinished bool    `protobuf:"varint,3,opt,name=marked_finished,json=markedFinished,proto3" json:"marked_finished,omitempty"`
	// contains filtered or unexported fields
}

func (*VideoView) Descriptor deprecated

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

Deprecated: Use VideoView.ProtoReflect.Descriptor instead.

func (*VideoView) GetMarkedFinished

func (x *VideoView) GetMarkedFinished() bool

func (*VideoView) GetProgress

func (x *VideoView) GetProgress() float32

func (*VideoView) GetStreamId

func (x *VideoView) GetStreamId() uint32

func (*VideoView) ProtoMessage

func (*VideoView) ProtoMessage()

func (*VideoView) ProtoReflect

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

func (*VideoView) Reset

func (x *VideoView) Reset()

func (*VideoView) String

func (x *VideoView) String() string

type Worker added in v1.8.1

type Worker struct {
	WorkerId string `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Version  string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Derived from last_seen: dead after six minutes without a heartbeat. Sent
	// computed so a client cannot disagree with the scheduler.
	Alive bool `protobuf:"varint,4,opt,name=alive,proto3" json:"alive,omitempty"`
	// How much the worker has to do: +1 per silence detection job, +2 per converting
	// job, +3 per streaming job.
	Workload uint32 `protobuf:"varint,5,opt,name=workload,proto3" json:"workload,omitempty"`
	// The jobs currently running, as a comma-separated summary the worker sends itself.
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// VM stats, self-reported by the worker; empty until it has sent a heartbeat.
	Cpu      string                 `protobuf:"bytes,7,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory   string                 `protobuf:"bytes,8,opt,name=memory,proto3" json:"memory,omitempty"`
	Disk     string                 `protobuf:"bytes,9,opt,name=disk,proto3" json:"disk,omitempty"`
	Uptime   string                 `protobuf:"bytes,10,opt,name=uptime,proto3" json:"uptime,omitempty"`
	LastSeen *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	// contains filtered or unexported fields
}

Worker is the older, pre-runner equivalent: it also transcodes, but is keyed by a self-generated UUID rather than hostname and carries VM stats the runner does not.

func (*Worker) Descriptor deprecated added in v1.8.1

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

Deprecated: Use Worker.ProtoReflect.Descriptor instead.

func (*Worker) GetAlive added in v1.8.1

func (x *Worker) GetAlive() bool

func (*Worker) GetCpu added in v1.8.1

func (x *Worker) GetCpu() string

func (*Worker) GetDisk added in v1.8.1

func (x *Worker) GetDisk() string

func (*Worker) GetHost added in v1.8.1

func (x *Worker) GetHost() string

func (*Worker) GetLastSeen added in v1.8.1

func (x *Worker) GetLastSeen() *timestamppb.Timestamp

func (*Worker) GetMemory added in v1.8.1

func (x *Worker) GetMemory() string

func (*Worker) GetStatus added in v1.8.1

func (x *Worker) GetStatus() string

func (*Worker) GetUptime added in v1.8.1

func (x *Worker) GetUptime() string

func (*Worker) GetVersion added in v1.8.1

func (x *Worker) GetVersion() string

func (*Worker) GetWorkerId added in v1.8.1

func (x *Worker) GetWorkerId() string

func (*Worker) GetWorkload added in v1.8.1

func (x *Worker) GetWorkload() uint32

func (*Worker) ProtoMessage added in v1.8.1

func (*Worker) ProtoMessage()

func (*Worker) ProtoReflect added in v1.8.1

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

func (*Worker) Reset added in v1.8.1

func (x *Worker) Reset()

func (*Worker) String added in v1.8.1

func (x *Worker) String() string

Jump to

Keyboard shortcuts

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