Documentation
¶
Overview ¶
Package protobuf is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client APIClient) error
- func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server APIServer) error
- func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
- type APIClient
- type APIServer
- type AddBookmarkRequest
- func (*AddBookmarkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddBookmarkRequest) GetDescription() string
- func (x *AddBookmarkRequest) GetHours() uint32
- func (x *AddBookmarkRequest) GetMinutes() uint32
- func (x *AddBookmarkRequest) GetSeconds() uint32
- func (x *AddBookmarkRequest) GetStreamId() uint32
- func (*AddBookmarkRequest) ProtoMessage()
- func (x *AddBookmarkRequest) ProtoReflect() protoreflect.Message
- func (x *AddBookmarkRequest) Reset()
- func (x *AddBookmarkRequest) String() string
- type AddBookmarkResponse
- func (*AddBookmarkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddBookmarkResponse) GetBookmark() *Bookmark
- func (*AddBookmarkResponse) ProtoMessage()
- func (x *AddBookmarkResponse) ProtoReflect() protoreflect.Message
- func (x *AddBookmarkResponse) Reset()
- func (x *AddBookmarkResponse) String() string
- type Bookmark
- func (*Bookmark) Descriptor() ([]byte, []int)deprecated
- func (x *Bookmark) GetBookmarkId() uint32
- func (x *Bookmark) GetDescription() string
- func (x *Bookmark) GetHours() uint32
- func (x *Bookmark) GetMinutes() uint32
- func (x *Bookmark) GetSeconds() uint32
- func (x *Bookmark) GetStreamId() uint32
- func (x *Bookmark) GetUserId() uint32
- func (*Bookmark) ProtoMessage()
- func (x *Bookmark) ProtoReflect() protoreflect.Message
- func (x *Bookmark) Reset()
- func (x *Bookmark) String() string
- type CameraPreset
- func (*CameraPreset) Descriptor() ([]byte, []int)deprecated
- func (x *CameraPreset) GetDescription() string
- func (x *CameraPreset) GetId() uint32
- func (x *CameraPreset) GetName() string
- func (*CameraPreset) ProtoMessage()
- func (x *CameraPreset) ProtoReflect() protoreflect.Message
- func (x *CameraPreset) Reset()
- func (x *CameraPreset) String() string
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)deprecated
- func (x *Chat) GetCreatedAt() *timestamppb.Timestamp
- func (x *Chat) GetMessage() string
- func (x *Chat) GetStreamId() uint32
- func (*Chat) ProtoMessage()
- func (x *Chat) ProtoReflect() protoreflect.Message
- func (x *Chat) Reset()
- func (x *Chat) String() string
- type Course
- func (*Course) Descriptor() ([]byte, []int)deprecated
- func (x *Course) GetAnonymousChatEnabled() bool
- func (x *Course) GetCameraPresetPreferences() string
- func (x *Course) GetChatEnabled() bool
- func (x *Course) GetDownloadsEnabled() bool
- func (x *Course) GetId() uint32
- func (x *Course) GetLastRecordingId() uint32
- func (x *Course) GetModeratedChatEnabled() bool
- func (x *Course) GetName() string
- func (x *Course) GetNextLectureId() uint32
- func (x *Course) GetSemester() *Semester
- func (x *Course) GetSlug() string
- func (x *Course) GetSourcePreferences() string
- func (x *Course) GetStreams() []*Stream
- func (x *Course) GetTumOnlineIdentifier() string
- func (x *Course) GetVodChatEnabled() bool
- func (x *Course) GetVodEnabled() bool
- func (*Course) ProtoMessage()
- func (x *Course) ProtoReflect() protoreflect.Message
- func (x *Course) Reset()
- func (x *Course) String() string
- type CourseStream
- func (*CourseStream) Descriptor() ([]byte, []int)deprecated
- func (x *CourseStream) GetCourse() *Course
- func (x *CourseStream) GetLectureHall() *LectureHall
- func (x *CourseStream) GetStream() *Stream
- func (x *CourseStream) GetViewers() uint32
- func (*CourseStream) ProtoMessage()
- func (x *CourseStream) ProtoReflect() protoreflect.Message
- func (x *CourseStream) Reset()
- func (x *CourseStream) String() string
- type DeleteBookmarkRequest
- func (*DeleteBookmarkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBookmarkRequest) GetBookmarkId() uint32
- func (*DeleteBookmarkRequest) ProtoMessage()
- func (x *DeleteBookmarkRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBookmarkRequest) Reset()
- func (x *DeleteBookmarkRequest) String() string
- type Download
- type Enrollment
- func (*Enrollment) Descriptor() ([]byte, []int)deprecated
- func (x *Enrollment) GetCourse() string
- func (x *Enrollment) GetTerm() string
- func (x *Enrollment) GetYear() int32
- func (*Enrollment) ProtoMessage()
- func (x *Enrollment) ProtoReflect() protoreflect.Message
- func (x *Enrollment) Reset()
- func (x *Enrollment) String() string
- type ExportPersonalDataResponse
- func (*ExportPersonalDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportPersonalDataResponse) GetChats() []*Chat
- func (x *ExportPersonalDataResponse) GetEnrollments() []*Enrollment
- func (x *ExportPersonalDataResponse) GetUserData() *User
- func (x *ExportPersonalDataResponse) GetVideoViews() []*VideoView
- func (*ExportPersonalDataResponse) ProtoMessage()
- func (x *ExportPersonalDataResponse) ProtoReflect() protoreflect.Message
- func (x *ExportPersonalDataResponse) Reset()
- func (x *ExportPersonalDataResponse) String() string
- type GetBookmarksRequest
- func (*GetBookmarksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookmarksRequest) GetStreamId() uint32
- func (*GetBookmarksRequest) ProtoMessage()
- func (x *GetBookmarksRequest) ProtoReflect() protoreflect.Message
- func (x *GetBookmarksRequest) Reset()
- func (x *GetBookmarksRequest) String() string
- type GetBookmarksResponse
- func (*GetBookmarksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBookmarksResponse) GetBookmarks() []*Bookmark
- func (*GetBookmarksResponse) ProtoMessage()
- func (x *GetBookmarksResponse) ProtoReflect() protoreflect.Message
- func (x *GetBookmarksResponse) Reset()
- func (x *GetBookmarksResponse) String() string
- type GetCourseBySlugRequest
- func (*GetCourseBySlugRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCourseBySlugRequest) GetSlug() string
- func (x *GetCourseBySlugRequest) GetTerm() string
- func (x *GetCourseBySlugRequest) GetYear() uint32
- func (*GetCourseBySlugRequest) ProtoMessage()
- func (x *GetCourseBySlugRequest) ProtoReflect() protoreflect.Message
- func (x *GetCourseBySlugRequest) Reset()
- func (x *GetCourseBySlugRequest) String() string
- type GetCourseBySlugResponse
- func (*GetCourseBySlugResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCourseBySlugResponse) GetCourse() *Course
- func (*GetCourseBySlugResponse) ProtoMessage()
- func (x *GetCourseBySlugResponse) ProtoReflect() protoreflect.Message
- func (x *GetCourseBySlugResponse) Reset()
- func (x *GetCourseBySlugResponse) String() string
- type GetLiveCoursesResponse
- func (*GetLiveCoursesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLiveCoursesResponse) GetLiveCourses() []*CourseStream
- func (*GetLiveCoursesResponse) ProtoMessage()
- func (x *GetLiveCoursesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLiveCoursesResponse) Reset()
- func (x *GetLiveCoursesResponse) String() string
- type GetNotificationsResponse
- func (*GetNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationsResponse) GetNotifications() []*UserGroupNotification
- func (*GetNotificationsResponse) ProtoMessage()
- func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotificationsResponse) Reset()
- func (x *GetNotificationsResponse) String() string
- type GetPinForCourseRequest
- func (*GetPinForCourseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinForCourseRequest) GetCourseId() uint32
- func (*GetPinForCourseRequest) ProtoMessage()
- func (x *GetPinForCourseRequest) ProtoReflect() protoreflect.Message
- func (x *GetPinForCourseRequest) Reset()
- func (x *GetPinForCourseRequest) String() string
- type GetPinForCourseResponse
- func (*GetPinForCourseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinForCourseResponse) GetHas() bool
- func (*GetPinForCourseResponse) ProtoMessage()
- func (x *GetPinForCourseResponse) ProtoReflect() protoreflect.Message
- func (x *GetPinForCourseResponse) Reset()
- func (x *GetPinForCourseResponse) String() string
- type GetPinnedCoursesResponse
- func (*GetPinnedCoursesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPinnedCoursesResponse) GetCourses() []*Course
- func (*GetPinnedCoursesResponse) ProtoMessage()
- func (x *GetPinnedCoursesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPinnedCoursesResponse) Reset()
- func (x *GetPinnedCoursesResponse) String() string
- type GetProgressBatchRequest
- func (*GetProgressBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgressBatchRequest) GetStreamIds() []uint32
- func (*GetProgressBatchRequest) ProtoMessage()
- func (x *GetProgressBatchRequest) ProtoReflect() protoreflect.Message
- func (x *GetProgressBatchRequest) Reset()
- func (x *GetProgressBatchRequest) String() string
- type GetProgressBatchResponse
- func (*GetProgressBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgressBatchResponse) GetProgressBatch() []*StreamProgress
- func (*GetProgressBatchResponse) ProtoMessage()
- func (x *GetProgressBatchResponse) ProtoReflect() protoreflect.Message
- func (x *GetProgressBatchResponse) Reset()
- func (x *GetProgressBatchResponse) String() string
- type GetPublicCoursesRequest
- func (*GetPublicCoursesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicCoursesRequest) GetTerm() string
- func (x *GetPublicCoursesRequest) GetYear() uint32
- func (*GetPublicCoursesRequest) ProtoMessage()
- func (x *GetPublicCoursesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPublicCoursesRequest) Reset()
- func (x *GetPublicCoursesRequest) String() string
- type GetPublicCoursesResponse
- func (*GetPublicCoursesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPublicCoursesResponse) GetCourses() []*Course
- func (*GetPublicCoursesResponse) ProtoMessage()
- func (x *GetPublicCoursesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPublicCoursesResponse) Reset()
- func (x *GetPublicCoursesResponse) String() string
- type GetSemestersResponse
- func (*GetSemestersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSemestersResponse) GetCurrent() *Semester
- func (x *GetSemestersResponse) GetSemesters() []*Semester
- func (*GetSemestersResponse) ProtoMessage()
- func (x *GetSemestersResponse) ProtoReflect() protoreflect.Message
- func (x *GetSemestersResponse) Reset()
- func (x *GetSemestersResponse) String() string
- type GetServerNotificationsResponse
- func (*GetServerNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerNotificationsResponse) GetServerNotifications() []*ServerNotification
- func (*GetServerNotificationsResponse) ProtoMessage()
- func (x *GetServerNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerNotificationsResponse) Reset()
- func (x *GetServerNotificationsResponse) String() string
- type GetStreamPlaylistRequest
- func (*GetStreamPlaylistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamPlaylistRequest) GetSlug() string
- func (x *GetStreamPlaylistRequest) GetStreamId() uint32
- func (*GetStreamPlaylistRequest) ProtoMessage()
- func (x *GetStreamPlaylistRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreamPlaylistRequest) Reset()
- func (x *GetStreamPlaylistRequest) String() string
- type GetStreamPlaylistResponse
- func (*GetStreamPlaylistResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamPlaylistResponse) GetEntries() []*StreamPlaylistEntry
- func (*GetStreamPlaylistResponse) ProtoMessage()
- func (x *GetStreamPlaylistResponse) ProtoReflect() protoreflect.Message
- func (x *GetStreamPlaylistResponse) Reset()
- func (x *GetStreamPlaylistResponse) String() string
- type GetStreamRequest
- func (*GetStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStreamRequest) GetSlug() string
- func (x *GetStreamRequest) GetStreamId() uint32
- func (*GetStreamRequest) ProtoMessage()
- func (x *GetStreamRequest) ProtoReflect() protoreflect.Message
- func (x *GetStreamRequest) Reset()
- func (x *GetStreamRequest) String() string
- type GetSubtitlesRequest
- func (*GetSubtitlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubtitlesRequest) GetLang() string
- func (x *GetSubtitlesRequest) GetSlug() string
- func (x *GetSubtitlesRequest) GetStreamId() uint32
- func (*GetSubtitlesRequest) ProtoMessage()
- func (x *GetSubtitlesRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubtitlesRequest) Reset()
- func (x *GetSubtitlesRequest) String() string
- type GetSubtitlesResponse
- func (*GetSubtitlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubtitlesResponse) GetContent() string
- func (*GetSubtitlesResponse) ProtoMessage()
- func (x *GetSubtitlesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubtitlesResponse) Reset()
- func (x *GetSubtitlesResponse) String() string
- type GetThumbsRequest
- func (*GetThumbsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetThumbsRequest) GetSlug() string
- func (x *GetThumbsRequest) GetStreamId() uint32
- func (x *GetThumbsRequest) GetThumbType() VideoType
- func (*GetThumbsRequest) ProtoMessage()
- func (x *GetThumbsRequest) ProtoReflect() protoreflect.Message
- func (x *GetThumbsRequest) Reset()
- func (x *GetThumbsRequest) String() string
- type GetUserCoursesRequest
- func (*GetUserCoursesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCoursesRequest) GetTerm() string
- func (x *GetUserCoursesRequest) GetYear() uint32
- func (*GetUserCoursesRequest) ProtoMessage()
- func (x *GetUserCoursesRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserCoursesRequest) Reset()
- func (x *GetUserCoursesRequest) String() string
- type GetUserCoursesResponse
- func (*GetUserCoursesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCoursesResponse) GetCourses() []*Course
- func (*GetUserCoursesResponse) ProtoMessage()
- func (x *GetUserCoursesResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserCoursesResponse) Reset()
- func (x *GetUserCoursesResponse) String() string
- type GetUserResponse
- type GetVideoSectionsRequest
- func (*GetVideoSectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoSectionsRequest) GetSlug() string
- func (x *GetVideoSectionsRequest) GetStreamId() uint32
- func (*GetVideoSectionsRequest) ProtoMessage()
- func (x *GetVideoSectionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetVideoSectionsRequest) Reset()
- func (x *GetVideoSectionsRequest) String() string
- type GetVideoSectionsResponse
- func (*GetVideoSectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVideoSectionsResponse) GetSections() []*VideoSection
- func (*GetVideoSectionsResponse) ProtoMessage()
- func (x *GetVideoSectionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetVideoSectionsResponse) Reset()
- func (x *GetVideoSectionsResponse) String() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() string
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type LectureHall
- func (*LectureHall) Descriptor() ([]byte, []int)deprecated
- func (x *LectureHall) GetCameraPresets() []*CameraPreset
- func (x *LectureHall) GetId() uint32
- func (x *LectureHall) GetName() string
- func (*LectureHall) ProtoMessage()
- func (x *LectureHall) ProtoReflect() protoreflect.Message
- func (x *LectureHall) Reset()
- func (x *LectureHall) String() string
- type NotificationTarget
- func (NotificationTarget) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationTarget) Enum() *NotificationTarget
- func (NotificationTarget) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotificationTarget) Number() protoreflect.EnumNumber
- func (x NotificationTarget) String() string
- func (NotificationTarget) Type() protoreflect.EnumType
- type PinCourseRequest
- func (*PinCourseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PinCourseRequest) GetCourseId() uint32
- func (x *PinCourseRequest) GetPin() bool
- func (*PinCourseRequest) ProtoMessage()
- func (x *PinCourseRequest) ProtoReflect() protoreflect.Message
- func (x *PinCourseRequest) Reset()
- func (x *PinCourseRequest) String() string
- type PinCourseResponse
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetEmail() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- type ResetPasswordResponse
- func (*ResetPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordResponse) GetMessage() string
- func (*ResetPasswordResponse) ProtoMessage()
- func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordResponse) Reset()
- func (x *ResetPasswordResponse) String() string
- type Semester
- type ServerNotification
- func (*ServerNotification) Descriptor() ([]byte, []int)deprecated
- func (x *ServerNotification) GetExpires() *timestamppb.Timestamp
- func (x *ServerNotification) GetStart() *timestamppb.Timestamp
- func (x *ServerNotification) GetText() string
- func (x *ServerNotification) GetWarn() bool
- func (*ServerNotification) ProtoMessage()
- func (x *ServerNotification) ProtoReflect() protoreflect.Message
- func (x *ServerNotification) Reset()
- func (x *ServerNotification) String() string
- type Stream
- func (*Stream) Descriptor() ([]byte, []int)deprecated
- func (x *Stream) GetChatEnabled() bool
- func (x *Stream) GetCourseId() uint32
- func (x *Stream) GetDescription() string
- func (x *Stream) GetDownloads() []*Download
- func (x *Stream) GetDuration() uint32
- func (x *Stream) GetEnd() *timestamppb.Timestamp
- func (x *Stream) GetEndOffset() uint32
- func (x *Stream) GetEnded() bool
- func (x *Stream) GetEventTypeName() string
- func (x *Stream) GetHlsUrl() string
- func (x *Stream) GetId() uint32
- func (x *Stream) GetIsComingUp() bool
- func (x *Stream) GetIsPlanned() bool
- func (x *Stream) GetLiveNow() bool
- func (x *Stream) GetLiveNowTimestamp() *timestamppb.Timestamp
- func (x *Stream) GetName() string
- func (x *Stream) GetPlaylistUrl() string
- func (x *Stream) GetPlaylistUrlCam() string
- func (x *Stream) GetPlaylistUrlPres() string
- func (x *Stream) GetPremiere() bool
- func (x *Stream) GetRecording() bool
- func (x *Stream) GetRoomCode() string
- func (x *Stream) GetRoomName() string
- func (x *Stream) GetSeriesIdentifier() string
- func (x *Stream) GetStart() *timestamppb.Timestamp
- func (x *Stream) GetStartOffset() uint32
- func (x *Stream) GetTumOnlineEventId() uint32
- func (x *Stream) GetVodViews() uint32
- func (*Stream) ProtoMessage()
- func (x *Stream) ProtoReflect() protoreflect.Message
- func (x *Stream) Reset()
- func (x *Stream) String() string
- type StreamPlaylistEntry
- func (*StreamPlaylistEntry) Descriptor() ([]byte, []int)deprecated
- func (x *StreamPlaylistEntry) GetCourseSlug() string
- func (x *StreamPlaylistEntry) GetCreatedAt() *timestamppb.Timestamp
- func (x *StreamPlaylistEntry) GetLiveNow() bool
- func (x *StreamPlaylistEntry) GetStart() *timestamppb.Timestamp
- func (x *StreamPlaylistEntry) GetStreamId() uint32
- func (x *StreamPlaylistEntry) GetStreamName() string
- func (x *StreamPlaylistEntry) GetStreamProgress() *StreamProgress
- func (x *StreamPlaylistEntry) GetWatched() bool
- func (*StreamPlaylistEntry) ProtoMessage()
- func (x *StreamPlaylistEntry) ProtoReflect() protoreflect.Message
- func (x *StreamPlaylistEntry) Reset()
- func (x *StreamPlaylistEntry) String() string
- type StreamProgress
- func (*StreamProgress) Descriptor() ([]byte, []int)deprecated
- func (x *StreamProgress) GetProgress() float32
- func (x *StreamProgress) GetStreamId() uint32
- func (x *StreamProgress) GetWatched() bool
- func (*StreamProgress) ProtoMessage()
- func (x *StreamProgress) ProtoReflect() protoreflect.Message
- func (x *StreamProgress) Reset()
- func (x *StreamProgress) String() string
- type UnimplementedAPIServer
- func (UnimplementedAPIServer) AddBookmark(context.Context, *AddBookmarkRequest) (*AddBookmarkResponse, error)
- func (UnimplementedAPIServer) DeleteBookmark(context.Context, *DeleteBookmarkRequest) (*emptypb.Empty, error)
- func (UnimplementedAPIServer) ExportPersonalData(context.Context, *emptypb.Empty) (*ExportPersonalDataResponse, error)
- func (UnimplementedAPIServer) GetBookmarks(context.Context, *GetBookmarksRequest) (*GetBookmarksResponse, error)
- func (UnimplementedAPIServer) GetCourseBySlug(context.Context, *GetCourseBySlugRequest) (*GetCourseBySlugResponse, error)
- func (UnimplementedAPIServer) GetLiveCourses(context.Context, *emptypb.Empty) (*GetLiveCoursesResponse, error)
- func (UnimplementedAPIServer) GetNotifications(context.Context, *emptypb.Empty) (*GetNotificationsResponse, error)
- func (UnimplementedAPIServer) GetPinForCourse(context.Context, *GetPinForCourseRequest) (*GetPinForCourseResponse, error)
- func (UnimplementedAPIServer) GetPinnedCourses(context.Context, *emptypb.Empty) (*GetPinnedCoursesResponse, error)
- func (UnimplementedAPIServer) GetProgressBatch(context.Context, *GetProgressBatchRequest) (*GetProgressBatchResponse, error)
- func (UnimplementedAPIServer) GetPublicCourses(context.Context, *GetPublicCoursesRequest) (*GetPublicCoursesResponse, error)
- func (UnimplementedAPIServer) GetSemesters(context.Context, *emptypb.Empty) (*GetSemestersResponse, error)
- func (UnimplementedAPIServer) GetServerNotifications(context.Context, *emptypb.Empty) (*GetServerNotificationsResponse, error)
- func (UnimplementedAPIServer) GetStream(context.Context, *GetStreamRequest) (*CourseStream, error)
- func (UnimplementedAPIServer) GetStreamPlaylist(context.Context, *GetStreamPlaylistRequest) (*GetStreamPlaylistResponse, error)
- func (UnimplementedAPIServer) GetSubtitles(context.Context, *GetSubtitlesRequest) (*httpbody.HttpBody, error)
- func (UnimplementedAPIServer) GetThumbs(context.Context, *GetThumbsRequest) (*httpbody.HttpBody, error)
- func (UnimplementedAPIServer) GetUser(context.Context, *emptypb.Empty) (*GetUserResponse, error)
- func (UnimplementedAPIServer) GetUserCourses(context.Context, *GetUserCoursesRequest) (*GetUserCoursesResponse, error)
- func (UnimplementedAPIServer) GetVideoSections(context.Context, *GetVideoSectionsRequest) (*GetVideoSectionsResponse, error)
- func (UnimplementedAPIServer) HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
- func (UnimplementedAPIServer) PinCourse(context.Context, *PinCourseRequest) (*PinCourseResponse, error)
- func (UnimplementedAPIServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
- func (UnimplementedAPIServer) UpdateBookmark(context.Context, *UpdateBookmarkRequest) (*UpdateBookmarkResponse, error)
- func (UnimplementedAPIServer) UpdateProgress(context.Context, *UpdateProgressRequest) (*StreamProgress, error)
- func (UnimplementedAPIServer) UpdateUserSettings(context.Context, *UpdateUserSettingsRequest) (*UpdateUserSettingsResponse, error)
- type UnsafeAPIServer
- type UpdateBookmarkRequest
- func (*UpdateBookmarkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookmarkRequest) GetBookmarkId() uint32
- func (x *UpdateBookmarkRequest) GetDescription() string
- func (x *UpdateBookmarkRequest) GetHours() uint32
- func (x *UpdateBookmarkRequest) GetMinutes() uint32
- func (x *UpdateBookmarkRequest) GetSeconds() uint32
- func (*UpdateBookmarkRequest) ProtoMessage()
- func (x *UpdateBookmarkRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBookmarkRequest) Reset()
- func (x *UpdateBookmarkRequest) String() string
- type UpdateBookmarkResponse
- func (*UpdateBookmarkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBookmarkResponse) GetBookmark() *Bookmark
- func (*UpdateBookmarkResponse) ProtoMessage()
- func (x *UpdateBookmarkResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBookmarkResponse) Reset()
- func (x *UpdateBookmarkResponse) String() string
- type UpdateProgressRequest
- func (*UpdateProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProgressRequest) GetProgress() float32
- func (x *UpdateProgressRequest) GetStreamId() uint32
- func (x *UpdateProgressRequest) GetWatched() bool
- func (*UpdateProgressRequest) ProtoMessage()
- func (x *UpdateProgressRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProgressRequest) Reset()
- func (x *UpdateProgressRequest) String() string
- type UpdateUserSettingsRequest
- func (*UpdateUserSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingsRequest) GetUserSettings() []*UserSetting
- func (*UpdateUserSettingsRequest) ProtoMessage()
- func (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingsRequest) Reset()
- func (x *UpdateUserSettingsRequest) String() string
- type UpdateUserSettingsResponse
- func (*UpdateUserSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserSettingsResponse) GetUserSettings() []*UserSetting
- func (*UpdateUserSettingsResponse) ProtoMessage()
- func (x *UpdateUserSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserSettingsResponse) Reset()
- func (x *UpdateUserSettingsResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAdministeredCourses() []*Course
- func (x *User) GetBookmarks() []*Bookmark
- func (x *User) GetCourses() []*Course
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() uint32
- func (x *User) GetLastName() string
- func (x *User) GetLrzId() string
- func (x *User) GetMatriculationNumber() string
- func (x *User) GetName() string
- func (x *User) GetPinnedCourses() []*Course
- func (x *User) GetRole() uint32
- func (x *User) GetSettings() []*UserSetting
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserGroupNotification
- func (*UserGroupNotification) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupNotification) GetBody() string
- func (x *UserGroupNotification) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserGroupNotification) GetTarget() NotificationTarget
- func (x *UserGroupNotification) GetTitle() string
- func (*UserGroupNotification) ProtoMessage()
- func (x *UserGroupNotification) ProtoReflect() protoreflect.Message
- func (x *UserGroupNotification) Reset()
- func (x *UserGroupNotification) String() string
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetType() UserSettingType
- func (x *UserSetting) GetValue() string
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type UserSettingType
- func (UserSettingType) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettingType) Enum() *UserSettingType
- func (UserSettingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettingType) Number() protoreflect.EnumNumber
- func (x UserSettingType) String() string
- func (UserSettingType) Type() protoreflect.EnumType
- type VideoSection
- func (*VideoSection) Descriptor() ([]byte, []int)deprecated
- func (x *VideoSection) GetDescription() string
- func (x *VideoSection) GetFileId() uint32
- func (x *VideoSection) GetStartHours() uint32
- func (x *VideoSection) GetStartMinutes() uint32
- func (x *VideoSection) GetStartSeconds() uint32
- func (x *VideoSection) GetStreamId() uint32
- func (*VideoSection) ProtoMessage()
- func (x *VideoSection) ProtoReflect() protoreflect.Message
- func (x *VideoSection) Reset()
- func (x *VideoSection) String() string
- type VideoType
- type VideoView
- func (*VideoView) Descriptor() ([]byte, []int)deprecated
- func (x *VideoView) GetMarkedFinished() bool
- func (x *VideoView) GetProgress() float32
- func (x *VideoView) GetStreamId() uint32
- func (*VideoView) ProtoMessage()
- func (x *VideoView) ProtoReflect() protoreflect.Message
- func (x *VideoView) Reset()
- func (x *VideoView) String() string
Constants ¶
const ( API_HealthCheck_FullMethodName = "/protobuf.API/healthCheck" API_GetUser_FullMethodName = "/protobuf.API/getUser" API_ResetPassword_FullMethodName = "/protobuf.API/resetPassword" API_UpdateUserSettings_FullMethodName = "/protobuf.API/updateUserSettings" API_ExportPersonalData_FullMethodName = "/protobuf.API/exportPersonalData" API_GetSemesters_FullMethodName = "/protobuf.API/getSemesters" API_GetPublicCourses_FullMethodName = "/protobuf.API/getPublicCourses" API_GetCourseBySlug_FullMethodName = "/protobuf.API/getCourseBySlug" API_GetUserCourses_FullMethodName = "/protobuf.API/getUserCourses" API_GetPinnedCourses_FullMethodName = "/protobuf.API/getPinnedCourses" API_GetLiveCourses_FullMethodName = "/protobuf.API/getLiveCourses" API_GetPinForCourse_FullMethodName = "/protobuf.API/getPinForCourse" API_PinCourse_FullMethodName = "/protobuf.API/pinCourse" API_GetStream_FullMethodName = "/protobuf.API/getStream" API_GetVideoSections_FullMethodName = "/protobuf.API/getVideoSections" API_GetStreamPlaylist_FullMethodName = "/protobuf.API/getStreamPlaylist" API_GetSubtitles_FullMethodName = "/protobuf.API/getSubtitles" API_GetThumbs_FullMethodName = "/protobuf.API/getThumbs" API_GetProgressBatch_FullMethodName = "/protobuf.API/getProgressBatch" API_UpdateProgress_FullMethodName = "/protobuf.API/updateProgress" API_AddBookmark_FullMethodName = "/protobuf.API/addBookmark" API_GetBookmarks_FullMethodName = "/protobuf.API/getBookmarks" API_UpdateBookmark_FullMethodName = "/protobuf.API/updateBookmark" API_DeleteBookmark_FullMethodName = "/protobuf.API/deleteBookmark" API_GetNotifications_FullMethodName = "/protobuf.API/getNotifications" API_GetServerNotifications_FullMethodName = "/protobuf.API/getServerNotifications" )
Variables ¶
var ( UserSettingType_name = map[int32]string{ 0: "PREFERRED_NAME", 1: "GREETING", 2: "CUSTOM_PLAYBACK_SPEEDS", } UserSettingType_value = map[string]int32{ "PREFERRED_NAME": 0, "GREETING": 1, "CUSTOM_PLAYBACK_SPEEDS": 2, } )
Enum value maps for UserSettingType.
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.
var ( NotificationTarget_name = map[int32]string{ 0: "TARGET_ALL", 1: "TARGET_USER", 2: "TARGET_STUDENT", 3: "TARGET_LECTURER", 4: "TARGET_ADMIN", } NotificationTarget_value = map[string]int32{ "TARGET_ALL": 0, "TARGET_USER": 1, "TARGET_STUDENT": 2, "TARGET_LECTURER": 3, "TARGET_ADMIN": 4, } )
Enum value maps for NotificationTarget.
var API_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.API", HandlerType: (*APIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "healthCheck", Handler: _API_HealthCheck_Handler, }, { MethodName: "getUser", Handler: _API_GetUser_Handler, }, { MethodName: "resetPassword", Handler: _API_ResetPassword_Handler, }, { MethodName: "updateUserSettings", Handler: _API_UpdateUserSettings_Handler, }, { MethodName: "exportPersonalData", Handler: _API_ExportPersonalData_Handler, }, { MethodName: "getSemesters", Handler: _API_GetSemesters_Handler, }, { MethodName: "getPublicCourses", Handler: _API_GetPublicCourses_Handler, }, { MethodName: "getCourseBySlug", Handler: _API_GetCourseBySlug_Handler, }, { MethodName: "getUserCourses", Handler: _API_GetUserCourses_Handler, }, { MethodName: "getPinnedCourses", Handler: _API_GetPinnedCourses_Handler, }, { MethodName: "getLiveCourses", Handler: _API_GetLiveCourses_Handler, }, { MethodName: "getPinForCourse", Handler: _API_GetPinForCourse_Handler, }, { MethodName: "pinCourse", Handler: _API_PinCourse_Handler, }, { MethodName: "getStream", Handler: _API_GetStream_Handler, }, { MethodName: "getVideoSections", Handler: _API_GetVideoSections_Handler, }, { MethodName: "getStreamPlaylist", Handler: _API_GetStreamPlaylist_Handler, }, { MethodName: "getSubtitles", Handler: _API_GetSubtitles_Handler, }, { MethodName: "getThumbs", Handler: _API_GetThumbs_Handler, }, { MethodName: "getProgressBatch", Handler: _API_GetProgressBatch_Handler, }, { MethodName: "updateProgress", Handler: _API_UpdateProgress_Handler, }, { MethodName: "addBookmark", Handler: _API_AddBookmark_Handler, }, { MethodName: "getBookmarks", Handler: _API_GetBookmarks_Handler, }, { MethodName: "updateBookmark", Handler: _API_UpdateBookmark_Handler, }, { MethodName: "deleteBookmark", Handler: _API_DeleteBookmark_Handler, }, { MethodName: "getNotifications", Handler: _API_GetNotifications_Handler, }, { MethodName: "getServerNotifications", Handler: _API_GetServerNotifications_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/apiv2.proto", }
API_ServiceDesc is the grpc.ServiceDesc for API service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_server_apiv2_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIHandler ¶
RegisterAPIHandler registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIHandlerClient ¶
RegisterAPIHandlerClient registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "APIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "APIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "APIClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAPIHandlerFromEndpoint ¶
func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIHandlerFromEndpoint is same as RegisterAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAPIHandlerServer ¶
RegisterAPIHandlerServer registers the http handlers for service API to "mux". UnaryRPC :call APIServer 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 RegisterAPIHandlerFromEndpoint 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 RegisterAPIServer ¶
func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
Types ¶
type APIClient ¶
type APIClient interface {
HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
GetUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserResponse, error)
ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error)
UpdateUserSettings(ctx context.Context, in *UpdateUserSettingsRequest, opts ...grpc.CallOption) (*UpdateUserSettingsResponse, error)
ExportPersonalData(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ExportPersonalDataResponse, error)
GetSemesters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSemestersResponse, error)
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)
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)
GetNotifications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetNotificationsResponse, error)
GetServerNotifications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetServerNotificationsResponse, error)
}
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface {
HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
GetUser(context.Context, *emptypb.Empty) (*GetUserResponse, error)
ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
UpdateUserSettings(context.Context, *UpdateUserSettingsRequest) (*UpdateUserSettingsResponse, error)
ExportPersonalData(context.Context, *emptypb.Empty) (*ExportPersonalDataResponse, error)
GetSemesters(context.Context, *emptypb.Empty) (*GetSemestersResponse, error)
GetPublicCourses(context.Context, *GetPublicCoursesRequest) (*GetPublicCoursesResponse, error)
GetCourseBySlug(context.Context, *GetCourseBySlugRequest) (*GetCourseBySlugResponse, error)
GetUserCourses(context.Context, *GetUserCoursesRequest) (*GetUserCoursesResponse, error)
GetPinnedCourses(context.Context, *emptypb.Empty) (*GetPinnedCoursesResponse, error)
GetLiveCourses(context.Context, *emptypb.Empty) (*GetLiveCoursesResponse, error)
GetPinForCourse(context.Context, *GetPinForCourseRequest) (*GetPinForCourseResponse, error)
PinCourse(context.Context, *PinCourseRequest) (*PinCourseResponse, error)
GetStream(context.Context, *GetStreamRequest) (*CourseStream, error)
GetVideoSections(context.Context, *GetVideoSectionsRequest) (*GetVideoSectionsResponse, error)
GetStreamPlaylist(context.Context, *GetStreamPlaylistRequest) (*GetStreamPlaylistResponse, error)
GetSubtitles(context.Context, *GetSubtitlesRequest) (*httpbody.HttpBody, error)
GetThumbs(context.Context, *GetThumbsRequest) (*httpbody.HttpBody, error)
GetProgressBatch(context.Context, *GetProgressBatchRequest) (*GetProgressBatchResponse, error)
UpdateProgress(context.Context, *UpdateProgressRequest) (*StreamProgress, error)
AddBookmark(context.Context, *AddBookmarkRequest) (*AddBookmarkResponse, error)
GetBookmarks(context.Context, *GetBookmarksRequest) (*GetBookmarksResponse, error)
UpdateBookmark(context.Context, *UpdateBookmarkRequest) (*UpdateBookmarkResponse, error)
DeleteBookmark(context.Context, *DeleteBookmarkRequest) (*emptypb.Empty, error)
GetNotifications(context.Context, *emptypb.Empty) (*GetNotificationsResponse, error)
GetServerNotifications(context.Context, *emptypb.Empty) (*GetServerNotificationsResponse, error)
// contains filtered or unexported methods
}
APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility.
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 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) GetBookmarkId ¶
func (*Bookmark) GetDescription ¶
func (*Bookmark) GetMinutes ¶
func (*Bookmark) GetSeconds ¶
func (*Bookmark) GetStreamId ¶
func (*Bookmark) ProtoMessage ¶
func (*Bookmark) ProtoMessage()
func (*Bookmark) ProtoReflect ¶
func (x *Bookmark) ProtoReflect() protoreflect.Message
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) GetCreatedAt ¶
func (x *Chat) GetCreatedAt() *timestamppb.Timestamp
func (*Chat) GetMessage ¶
func (*Chat) GetStreamId ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
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"`
LastRecordingId uint32 `protobuf:"varint,15,opt,name=last_recording_id,json=lastRecordingId,proto3" json:"last_recording_id,omitempty"`
NextLectureId uint32 `protobuf:"varint,16,opt,name=next_lecture_id,json=nextLectureId,proto3" json:"next_lecture_id,omitempty"`
// contains filtered or unexported fields
}
func (*Course) Descriptor
deprecated
func (*Course) GetAnonymousChatEnabled ¶
func (*Course) GetCameraPresetPreferences ¶
func (*Course) GetChatEnabled ¶
func (*Course) GetDownloadsEnabled ¶
func (*Course) GetLastRecordingId ¶
func (*Course) GetModeratedChatEnabled ¶
func (*Course) GetNextLectureId ¶
func (*Course) GetSemester ¶
func (*Course) GetSourcePreferences ¶
func (*Course) GetStreams ¶
func (*Course) GetTumOnlineIdentifier ¶
func (*Course) GetVodChatEnabled ¶
func (*Course) GetVodEnabled ¶
func (*Course) ProtoMessage ¶
func (*Course) ProtoMessage()
func (*Course) ProtoReflect ¶
func (x *Course) ProtoReflect() protoreflect.Message
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 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 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) GetDownloadUrl ¶
func (*Download) GetFriendlyName ¶
func (*Download) ProtoMessage ¶
func (*Download) ProtoMessage()
func (*Download) ProtoReflect ¶
func (x *Download) ProtoReflect() protoreflect.Message
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 (x *ExportPersonalDataResponse) ProtoReflect() protoreflect.Message
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 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 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 (x *GetServerNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetServerNotificationsResponse) Reset ¶
func (x *GetServerNotificationsResponse) Reset()
func (*GetServerNotificationsResponse) String ¶
func (x *GetServerNotificationsResponse) String() 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 (x *GetStreamPlaylistResponse) GetEntries() []*StreamPlaylistEntry
func (*GetStreamPlaylistResponse) ProtoMessage ¶
func (*GetStreamPlaylistResponse) ProtoMessage()
func (*GetStreamPlaylistResponse) ProtoReflect ¶
func (x *GetStreamPlaylistResponse) ProtoReflect() protoreflect.Message
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 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"`
// 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) 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 NotificationTarget ¶
type NotificationTarget int32
const ( NotificationTarget_TARGET_ALL NotificationTarget = 0 NotificationTarget_TARGET_USER NotificationTarget = 1 NotificationTarget_TARGET_STUDENT NotificationTarget = 2 NotificationTarget_TARGET_LECTURER NotificationTarget = 3 NotificationTarget_TARGET_ADMIN NotificationTarget = 4 )
func (NotificationTarget) Descriptor ¶
func (NotificationTarget) Descriptor() protoreflect.EnumDescriptor
func (NotificationTarget) Enum ¶
func (x NotificationTarget) Enum() *NotificationTarget
func (NotificationTarget) EnumDescriptor
deprecated
func (NotificationTarget) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationTarget.Descriptor instead.
func (NotificationTarget) Number ¶
func (x NotificationTarget) Number() protoreflect.EnumNumber
func (NotificationTarget) String ¶
func (x NotificationTarget) String() string
func (NotificationTarget) Type ¶
func (NotificationTarget) Type() protoreflect.EnumType
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 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) GetTeachingTerm ¶
func (*Semester) ProtoMessage ¶
func (*Semester) ProtoMessage()
func (*Semester) ProtoReflect ¶
func (x *Semester) ProtoReflect() protoreflect.Message
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"`
// contains filtered or unexported fields
}
func (*Stream) Descriptor
deprecated
func (*Stream) GetChatEnabled ¶
func (*Stream) GetCourseId ¶
func (*Stream) GetDescription ¶
func (*Stream) GetDownloads ¶
func (*Stream) GetDuration ¶
func (*Stream) GetEnd ¶
func (x *Stream) GetEnd() *timestamppb.Timestamp
func (*Stream) GetEndOffset ¶
func (*Stream) GetEventTypeName ¶
func (*Stream) GetIsComingUp ¶
func (*Stream) GetIsPlanned ¶
func (*Stream) GetLiveNow ¶
func (*Stream) GetLiveNowTimestamp ¶
func (x *Stream) GetLiveNowTimestamp() *timestamppb.Timestamp
func (*Stream) GetPlaylistUrl ¶
func (*Stream) GetPlaylistUrlCam ¶
func (*Stream) GetPlaylistUrlPres ¶
func (*Stream) GetPremiere ¶
func (*Stream) GetRecording ¶
func (*Stream) GetRoomCode ¶
func (*Stream) GetRoomName ¶
func (*Stream) GetSeriesIdentifier ¶
func (*Stream) GetStart ¶
func (x *Stream) GetStart() *timestamppb.Timestamp
func (*Stream) GetStartOffset ¶
func (*Stream) GetTumOnlineEventId ¶
func (*Stream) GetVodViews ¶
func (*Stream) ProtoMessage ¶
func (*Stream) ProtoMessage()
func (*Stream) ProtoReflect ¶
func (x *Stream) ProtoReflect() protoreflect.Message
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 UnimplementedAPIServer ¶
type UnimplementedAPIServer struct{}
UnimplementedAPIServer 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 (UnimplementedAPIServer) AddBookmark ¶
func (UnimplementedAPIServer) AddBookmark(context.Context, *AddBookmarkRequest) (*AddBookmarkResponse, error)
func (UnimplementedAPIServer) DeleteBookmark ¶
func (UnimplementedAPIServer) DeleteBookmark(context.Context, *DeleteBookmarkRequest) (*emptypb.Empty, error)
func (UnimplementedAPIServer) ExportPersonalData ¶
func (UnimplementedAPIServer) ExportPersonalData(context.Context, *emptypb.Empty) (*ExportPersonalDataResponse, error)
func (UnimplementedAPIServer) GetBookmarks ¶
func (UnimplementedAPIServer) GetBookmarks(context.Context, *GetBookmarksRequest) (*GetBookmarksResponse, error)
func (UnimplementedAPIServer) GetCourseBySlug ¶
func (UnimplementedAPIServer) GetCourseBySlug(context.Context, *GetCourseBySlugRequest) (*GetCourseBySlugResponse, error)
func (UnimplementedAPIServer) GetLiveCourses ¶
func (UnimplementedAPIServer) GetLiveCourses(context.Context, *emptypb.Empty) (*GetLiveCoursesResponse, error)
func (UnimplementedAPIServer) GetNotifications ¶
func (UnimplementedAPIServer) GetNotifications(context.Context, *emptypb.Empty) (*GetNotificationsResponse, error)
func (UnimplementedAPIServer) GetPinForCourse ¶
func (UnimplementedAPIServer) GetPinForCourse(context.Context, *GetPinForCourseRequest) (*GetPinForCourseResponse, error)
func (UnimplementedAPIServer) GetPinnedCourses ¶
func (UnimplementedAPIServer) GetPinnedCourses(context.Context, *emptypb.Empty) (*GetPinnedCoursesResponse, error)
func (UnimplementedAPIServer) GetProgressBatch ¶
func (UnimplementedAPIServer) GetProgressBatch(context.Context, *GetProgressBatchRequest) (*GetProgressBatchResponse, error)
func (UnimplementedAPIServer) GetPublicCourses ¶
func (UnimplementedAPIServer) GetPublicCourses(context.Context, *GetPublicCoursesRequest) (*GetPublicCoursesResponse, error)
func (UnimplementedAPIServer) GetSemesters ¶
func (UnimplementedAPIServer) GetSemesters(context.Context, *emptypb.Empty) (*GetSemestersResponse, error)
func (UnimplementedAPIServer) GetServerNotifications ¶
func (UnimplementedAPIServer) GetServerNotifications(context.Context, *emptypb.Empty) (*GetServerNotificationsResponse, error)
func (UnimplementedAPIServer) GetStream ¶
func (UnimplementedAPIServer) GetStream(context.Context, *GetStreamRequest) (*CourseStream, error)
func (UnimplementedAPIServer) GetStreamPlaylist ¶
func (UnimplementedAPIServer) GetStreamPlaylist(context.Context, *GetStreamPlaylistRequest) (*GetStreamPlaylistResponse, error)
func (UnimplementedAPIServer) GetSubtitles ¶
func (UnimplementedAPIServer) GetSubtitles(context.Context, *GetSubtitlesRequest) (*httpbody.HttpBody, error)
func (UnimplementedAPIServer) GetThumbs ¶
func (UnimplementedAPIServer) GetThumbs(context.Context, *GetThumbsRequest) (*httpbody.HttpBody, error)
func (UnimplementedAPIServer) GetUser ¶
func (UnimplementedAPIServer) GetUser(context.Context, *emptypb.Empty) (*GetUserResponse, error)
func (UnimplementedAPIServer) GetUserCourses ¶
func (UnimplementedAPIServer) GetUserCourses(context.Context, *GetUserCoursesRequest) (*GetUserCoursesResponse, error)
func (UnimplementedAPIServer) GetVideoSections ¶
func (UnimplementedAPIServer) GetVideoSections(context.Context, *GetVideoSectionsRequest) (*GetVideoSectionsResponse, error)
func (UnimplementedAPIServer) HealthCheck ¶
func (UnimplementedAPIServer) HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
func (UnimplementedAPIServer) PinCourse ¶
func (UnimplementedAPIServer) PinCourse(context.Context, *PinCourseRequest) (*PinCourseResponse, error)
func (UnimplementedAPIServer) ResetPassword ¶
func (UnimplementedAPIServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
func (UnimplementedAPIServer) UpdateBookmark ¶
func (UnimplementedAPIServer) UpdateBookmark(context.Context, *UpdateBookmarkRequest) (*UpdateBookmarkResponse, error)
func (UnimplementedAPIServer) UpdateProgress ¶
func (UnimplementedAPIServer) UpdateProgress(context.Context, *UpdateProgressRequest) (*StreamProgress, error)
func (UnimplementedAPIServer) UpdateUserSettings ¶
func (UnimplementedAPIServer) UpdateUserSettings(context.Context, *UpdateUserSettingsRequest) (*UpdateUserSettingsResponse, error)
type UnsafeAPIServer ¶
type UnsafeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServer will result in compilation errors.
type 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 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 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 (x *UpdateUserSettingsRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateUserSettingsResponse) ProtoReflect() protoreflect.Message
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"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetAdministeredCourses ¶
func (*User) GetBookmarks ¶
func (*User) GetCourses ¶
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetLastName ¶
func (*User) GetMatriculationNumber ¶
func (*User) GetPinnedCourses ¶
func (*User) GetSettings ¶
func (x *User) GetSettings() []*UserSetting
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 (x *UserGroupNotification) GetTarget() NotificationTarget
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 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
const ( UserSettingType_PREFERRED_NAME UserSettingType = 0 UserSettingType_GREETING UserSettingType = 1 UserSettingType_CUSTOM_PLAYBACK_SPEEDS UserSettingType = 2 )
func (UserSettingType) Descriptor ¶
func (UserSettingType) Descriptor() protoreflect.EnumDescriptor
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 (x UserSettingType) Number() protoreflect.EnumNumber
func (UserSettingType) String ¶
func (x UserSettingType) String() string
func (UserSettingType) Type ¶
func (UserSettingType) Type() protoreflect.EnumType
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
func (VideoType) Descriptor ¶
func (VideoType) Descriptor() protoreflect.EnumDescriptor
func (VideoType) EnumDescriptor
deprecated
func (VideoType) Number ¶
func (x VideoType) Number() protoreflect.EnumNumber
func (VideoType) Type ¶
func (VideoType) Type() protoreflect.EnumType
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) GetMarkedFinished ¶
func (*VideoView) GetProgress ¶
func (*VideoView) GetStreamId ¶
func (*VideoView) ProtoMessage ¶
func (*VideoView) ProtoMessage()
func (*VideoView) ProtoReflect ¶
func (x *VideoView) ProtoReflect() protoreflect.Message