Documentation ¶
Overview ¶
Package api is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCampusHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCampusHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CampusClient) error
- func RegisterCampusHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCampusHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CampusServer) error
- func RegisterCampusServer(s grpc.ServiceRegistrar, srv CampusServer)
- type CampusClient
- type CampusServer
- type Campus_CreateFeedbackClient
- type Campus_CreateFeedbackServer
- type Canteen
- func (*Canteen) Descriptor() ([]byte, []int)deprecated
- func (x *Canteen) GetAddress() string
- func (x *Canteen) GetId() string
- func (x *Canteen) GetLatitude() float64
- func (x *Canteen) GetLongitude() float64
- func (*Canteen) ProtoMessage()
- func (x *Canteen) ProtoReflect() protoreflect.Message
- func (x *Canteen) Reset()
- func (x *Canteen) String() string
- type Coordinate
- func (*Coordinate) Descriptor() ([]byte, []int)deprecated
- func (x *Coordinate) GetLatitude() float64
- func (x *Coordinate) GetLongitude() float64
- func (*Coordinate) ProtoMessage()
- func (x *Coordinate) ProtoReflect() protoreflect.Message
- func (x *Coordinate) Reset()
- func (x *Coordinate) String() string
- type CreateCanteenRatingReply
- type CreateCanteenRatingRequest
- func (*CreateCanteenRatingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCanteenRatingRequest) GetCanteenId() string
- func (x *CreateCanteenRatingRequest) GetComment() string
- func (x *CreateCanteenRatingRequest) GetImage() []byte
- func (x *CreateCanteenRatingRequest) GetPoints() int32
- func (x *CreateCanteenRatingRequest) GetRatingTags() []*RatingTag
- func (*CreateCanteenRatingRequest) ProtoMessage()
- func (x *CreateCanteenRatingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCanteenRatingRequest) Reset()
- func (x *CreateCanteenRatingRequest) String() string
- type CreateDeviceReply
- type CreateDeviceRequest
- func (*CreateDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeviceRequest) GetDeviceId() string
- func (x *CreateDeviceRequest) GetDeviceType() DeviceType
- func (x *CreateDeviceRequest) GetPublicKey() string
- func (*CreateDeviceRequest) ProtoMessage()
- func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeviceRequest) Reset()
- func (x *CreateDeviceRequest) String() string
- type CreateDishRatingReply
- type CreateDishRatingRequest
- func (*CreateDishRatingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDishRatingRequest) GetCanteenId() string
- func (x *CreateDishRatingRequest) GetComment() string
- func (x *CreateDishRatingRequest) GetDish() string
- func (x *CreateDishRatingRequest) GetImage() []byte
- func (x *CreateDishRatingRequest) GetPoints() int32
- func (x *CreateDishRatingRequest) GetRatingTags() []*RatingTag
- func (*CreateDishRatingRequest) ProtoMessage()
- func (x *CreateDishRatingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDishRatingRequest) Reset()
- func (x *CreateDishRatingRequest) String() string
- type CreateFeedbackImageReply
- func (*CreateFeedbackImageReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeedbackImageReply) GetStatus() string
- func (*CreateFeedbackImageReply) ProtoMessage()
- func (x *CreateFeedbackImageReply) ProtoReflect() protoreflect.Message
- func (x *CreateFeedbackImageReply) Reset()
- func (x *CreateFeedbackImageReply) String() string
- type CreateFeedbackImageRequest
- func (*CreateFeedbackImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeedbackImageRequest) GetId() int32
- func (x *CreateFeedbackImageRequest) GetImageNr() int32
- func (*CreateFeedbackImageRequest) ProtoMessage()
- func (x *CreateFeedbackImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFeedbackImageRequest) Reset()
- func (x *CreateFeedbackImageRequest) String() string
- type CreateFeedbackReply
- type CreateFeedbackRequest
- func (*CreateFeedbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeedbackRequest) GetAppVersion() string
- func (x *CreateFeedbackRequest) GetAttachment() []byte
- func (x *CreateFeedbackRequest) GetFromEmail() string
- func (x *CreateFeedbackRequest) GetFromName() string
- func (x *CreateFeedbackRequest) GetLocation() *Coordinate
- func (x *CreateFeedbackRequest) GetMessage() string
- func (x *CreateFeedbackRequest) GetOsVersion() string
- func (x *CreateFeedbackRequest) GetRecipient() CreateFeedbackRequest_Recipient
- func (*CreateFeedbackRequest) ProtoMessage()
- func (x *CreateFeedbackRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFeedbackRequest) Reset()
- func (x *CreateFeedbackRequest) String() string
- type CreateFeedbackRequest_Recipient
- func (CreateFeedbackRequest_Recipient) Descriptor() protoreflect.EnumDescriptor
- func (x CreateFeedbackRequest_Recipient) Enum() *CreateFeedbackRequest_Recipient
- func (CreateFeedbackRequest_Recipient) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateFeedbackRequest_Recipient) Number() protoreflect.EnumNumber
- func (x CreateFeedbackRequest_Recipient) String() string
- func (CreateFeedbackRequest_Recipient) Type() protoreflect.EnumType
- type DeleteDeviceReply
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceRequest) GetDeviceId() string
- func (x *DeleteDeviceRequest) GetDeviceType() DeviceType
- func (*DeleteDeviceRequest) ProtoMessage()
- func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceRequest) Reset()
- func (x *DeleteDeviceRequest) String() string
- type DeviceType
- type GetCanteenHeadCountReply
- func (*GetCanteenHeadCountReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetCanteenHeadCountReply) GetCount() uint32
- func (x *GetCanteenHeadCountReply) GetMaxCount() uint32
- func (x *GetCanteenHeadCountReply) GetPercent() float32
- func (x *GetCanteenHeadCountReply) GetTimestamp() *timestamppb.Timestamp
- func (*GetCanteenHeadCountReply) ProtoMessage()
- func (x *GetCanteenHeadCountReply) ProtoReflect() protoreflect.Message
- func (x *GetCanteenHeadCountReply) Reset()
- func (x *GetCanteenHeadCountReply) String() string
- type GetCanteenHeadCountRequest
- func (*GetCanteenHeadCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCanteenHeadCountRequest) GetCanteenId() string
- func (*GetCanteenHeadCountRequest) ProtoMessage()
- func (x *GetCanteenHeadCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetCanteenHeadCountRequest) Reset()
- func (x *GetCanteenHeadCountRequest) String() string
- type GetDishRatingsReply
- func (*GetDishRatingsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDishRatingsReply) GetAvg() float64
- func (x *GetDishRatingsReply) GetMax() int32
- func (x *GetDishRatingsReply) GetMin() int32
- func (x *GetDishRatingsReply) GetNameTags() []*RatingTagResult
- func (x *GetDishRatingsReply) GetRating() []*SingleRatingReply
- func (x *GetDishRatingsReply) GetRatingTags() []*RatingTagResult
- func (x *GetDishRatingsReply) GetStd() float64
- func (*GetDishRatingsReply) ProtoMessage()
- func (x *GetDishRatingsReply) ProtoReflect() protoreflect.Message
- func (x *GetDishRatingsReply) Reset()
- func (x *GetDishRatingsReply) String() string
- type GetDishRatingsRequest
- func (*GetDishRatingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDishRatingsRequest) GetCanteenId() string
- func (x *GetDishRatingsRequest) GetDish() string
- func (x *GetDishRatingsRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetDishRatingsRequest) GetLimit() int32
- func (x *GetDishRatingsRequest) GetTo() *timestamppb.Timestamp
- func (*GetDishRatingsRequest) ProtoMessage()
- func (x *GetDishRatingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDishRatingsRequest) Reset()
- func (x *GetDishRatingsRequest) String() string
- type GetMemberReply
- func (*GetMemberReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetMemberReply) GetLrzId() string
- func (x *GetMemberReply) GetMemberId() int32
- func (x *GetMemberReply) GetName() string
- func (*GetMemberReply) ProtoMessage()
- func (x *GetMemberReply) ProtoReflect() protoreflect.Message
- func (x *GetMemberReply) Reset()
- func (x *GetMemberReply) String() string
- type GetMemberRequest
- type GetNotificationConfirmReply
- func (*GetNotificationConfirmReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationConfirmReply) GetStatus() string
- func (*GetNotificationConfirmReply) ProtoMessage()
- func (x *GetNotificationConfirmReply) ProtoReflect() protoreflect.Message
- func (x *GetNotificationConfirmReply) Reset()
- func (x *GetNotificationConfirmReply) String() string
- type GetNotificationConfirmRequest
- func (*GetNotificationConfirmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationConfirmRequest) GetNotificationId() int32
- func (*GetNotificationConfirmRequest) ProtoMessage()
- func (x *GetNotificationConfirmRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationConfirmRequest) Reset()
- func (x *GetNotificationConfirmRequest) String() string
- type GetNotificationReply
- func (*GetNotificationReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationReply) GetDescription() string
- func (x *GetNotificationReply) GetNotificationId() int32
- func (x *GetNotificationReply) GetSignature() string
- func (x *GetNotificationReply) GetTitle() string
- func (x *GetNotificationReply) GetType() int32
- func (*GetNotificationReply) ProtoMessage()
- func (x *GetNotificationReply) ProtoReflect() protoreflect.Message
- func (x *GetNotificationReply) Reset()
- func (x *GetNotificationReply) String() string
- type GetNotificationRequest
- func (*GetNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationRequest) GetNotificationId() int32
- func (*GetNotificationRequest) ProtoMessage()
- func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationRequest) Reset()
- func (x *GetNotificationRequest) String() string
- type GetUpdateNoteReply
- func (*GetUpdateNoteReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdateNoteReply) GetMessage() string
- func (x *GetUpdateNoteReply) GetVersionName() string
- func (*GetUpdateNoteReply) ProtoMessage()
- func (x *GetUpdateNoteReply) ProtoReflect() protoreflect.Message
- func (x *GetUpdateNoteReply) Reset()
- func (x *GetUpdateNoteReply) String() string
- type GetUpdateNoteRequest
- func (*GetUpdateNoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdateNoteRequest) GetVersion() int64
- func (*GetUpdateNoteRequest) ProtoMessage()
- func (x *GetUpdateNoteRequest) ProtoReflect() protoreflect.Message
- func (x *GetUpdateNoteRequest) Reset()
- func (x *GetUpdateNoteRequest) String() string
- type GetUploadStatusReply
- func (*GetUploadStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUploadStatusReply) GetEmployeeId() bool
- func (x *GetUploadStatusReply) GetExternalId() bool
- func (x *GetUploadStatusReply) GetFcmToken() string
- func (x *GetUploadStatusReply) GetPublicKey() string
- func (x *GetUploadStatusReply) GetStudentId() bool
- func (*GetUploadStatusReply) ProtoMessage()
- func (x *GetUploadStatusReply) ProtoReflect() protoreflect.Message
- func (x *GetUploadStatusReply) Reset()
- func (x *GetUploadStatusReply) String() string
- type GetUploadStatusRequest
- func (*GetUploadStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUploadStatusRequest) GetLrzId() string
- func (*GetUploadStatusRequest) ProtoMessage()
- func (x *GetUploadStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetUploadStatusRequest) Reset()
- func (x *GetUploadStatusRequest) String() string
- type ListAvailableCanteenTagsReply
- func (*ListAvailableCanteenTagsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAvailableCanteenTagsReply) GetRatingTags() []*TagsOverview
- func (*ListAvailableCanteenTagsReply) ProtoMessage()
- func (x *ListAvailableCanteenTagsReply) ProtoReflect() protoreflect.Message
- func (x *ListAvailableCanteenTagsReply) Reset()
- func (x *ListAvailableCanteenTagsReply) String() string
- type ListAvailableCanteenTagsRequest
- func (*ListAvailableCanteenTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAvailableCanteenTagsRequest) ProtoMessage()
- func (x *ListAvailableCanteenTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAvailableCanteenTagsRequest) Reset()
- func (x *ListAvailableCanteenTagsRequest) String() string
- type ListAvailableDishTagsReply
- func (*ListAvailableDishTagsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAvailableDishTagsReply) GetRatingTags() []*TagsOverview
- func (*ListAvailableDishTagsReply) ProtoMessage()
- func (x *ListAvailableDishTagsReply) ProtoReflect() protoreflect.Message
- func (x *ListAvailableDishTagsReply) Reset()
- func (x *ListAvailableDishTagsReply) String() string
- type ListAvailableDishTagsRequest
- func (*ListAvailableDishTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAvailableDishTagsRequest) ProtoMessage()
- func (x *ListAvailableDishTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAvailableDishTagsRequest) Reset()
- func (x *ListAvailableDishTagsRequest) String() string
- type ListCanteenRatingsReply
- func (*ListCanteenRatingsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListCanteenRatingsReply) GetAvg() float64
- func (x *ListCanteenRatingsReply) GetMax() int32
- func (x *ListCanteenRatingsReply) GetMin() int32
- func (x *ListCanteenRatingsReply) GetRating() []*SingleRatingReply
- func (x *ListCanteenRatingsReply) GetRatingTags() []*RatingTagResult
- func (x *ListCanteenRatingsReply) GetStd() float64
- func (*ListCanteenRatingsReply) ProtoMessage()
- func (x *ListCanteenRatingsReply) ProtoReflect() protoreflect.Message
- func (x *ListCanteenRatingsReply) Reset()
- func (x *ListCanteenRatingsReply) String() string
- type ListCanteenRatingsRequest
- func (*ListCanteenRatingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCanteenRatingsRequest) GetCanteenId() string
- func (x *ListCanteenRatingsRequest) GetFrom() *timestamppb.Timestamp
- func (x *ListCanteenRatingsRequest) GetLimit() int32
- func (x *ListCanteenRatingsRequest) GetTo() *timestamppb.Timestamp
- func (*ListCanteenRatingsRequest) ProtoMessage()
- func (x *ListCanteenRatingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCanteenRatingsRequest) Reset()
- func (x *ListCanteenRatingsRequest) String() string
- type ListCanteensReply
- func (*ListCanteensReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListCanteensReply) GetCanteen() []*Canteen
- func (*ListCanteensReply) ProtoMessage()
- func (x *ListCanteensReply) ProtoReflect() protoreflect.Message
- func (x *ListCanteensReply) Reset()
- func (x *ListCanteensReply) String() string
- type ListCanteensRequest
- type ListDishesReply
- type ListDishesRequest
- func (*ListDishesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDishesRequest) GetCanteenId() string
- func (x *ListDishesRequest) GetDay() int32
- func (x *ListDishesRequest) GetWeek() int32
- func (x *ListDishesRequest) GetYear() int32
- func (*ListDishesRequest) ProtoMessage()
- func (x *ListDishesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDishesRequest) Reset()
- func (x *ListDishesRequest) String() string
- type ListMoviesReply
- type ListMoviesRequest
- func (*ListMoviesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMoviesRequest) GetLastId() int32
- func (x *ListMoviesRequest) GetOldestDateAt() *timestamppb.Timestamp
- func (*ListMoviesRequest) ProtoMessage()
- func (x *ListMoviesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMoviesRequest) Reset()
- func (x *ListMoviesRequest) String() string
- type ListNameTagsReply
- func (*ListNameTagsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNameTagsReply) GetRatingTags() []*TagsOverview
- func (*ListNameTagsReply) ProtoMessage()
- func (x *ListNameTagsReply) ProtoReflect() protoreflect.Message
- func (x *ListNameTagsReply) Reset()
- func (x *ListNameTagsReply) String() string
- type ListNameTagsRequest
- type ListNewsAlertsReply
- func (*ListNewsAlertsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsAlertsReply) GetAlerts() []*NewsAlert
- func (*ListNewsAlertsReply) ProtoMessage()
- func (x *ListNewsAlertsReply) ProtoReflect() protoreflect.Message
- func (x *ListNewsAlertsReply) Reset()
- func (x *ListNewsAlertsReply) String() string
- type ListNewsAlertsRequest
- func (*ListNewsAlertsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsAlertsRequest) GetLastNewsAlertId() int32
- func (*ListNewsAlertsRequest) ProtoMessage()
- func (x *ListNewsAlertsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNewsAlertsRequest) Reset()
- func (x *ListNewsAlertsRequest) String() string
- type ListNewsReply
- type ListNewsRequest
- func (*ListNewsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsRequest) GetLastNewsId() int32
- func (x *ListNewsRequest) GetNewsSource() int32
- func (x *ListNewsRequest) GetOldestDateAt() *timestamppb.Timestamp
- func (*ListNewsRequest) ProtoMessage()
- func (x *ListNewsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNewsRequest) Reset()
- func (x *ListNewsRequest) String() string
- type ListNewsSourcesReply
- func (*ListNewsSourcesReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNewsSourcesReply) GetSources() []*NewsSource
- func (*ListNewsSourcesReply) ProtoMessage()
- func (x *ListNewsSourcesReply) ProtoReflect() protoreflect.Message
- func (x *ListNewsSourcesReply) Reset()
- func (x *ListNewsSourcesReply) String() string
- type ListNewsSourcesRequest
- type Movie
- func (*Movie) Descriptor() ([]byte, []int)deprecated
- func (x *Movie) GetActors() string
- func (x *Movie) GetAdditionalInformationUrl() string
- func (x *Movie) GetCoverId() int64
- func (x *Movie) GetCoverUrl() string
- func (x *Movie) GetCreated() *timestamppb.Timestamp
- func (x *Movie) GetDate() *timestamppb.Timestamp
- func (x *Movie) GetDescription() string
- func (x *Movie) GetDirector() string
- func (x *Movie) GetGenre() string
- func (x *Movie) GetImdbRating() string
- func (x *Movie) GetLocation() string
- func (x *Movie) GetMovieId() int64
- func (x *Movie) GetReleaseYear() string
- func (x *Movie) GetRuntime() string
- func (x *Movie) GetTitle() string
- func (x *Movie) GetTrailerUrl() string
- func (*Movie) ProtoMessage()
- func (x *Movie) ProtoReflect() protoreflect.Message
- func (x *Movie) Reset()
- func (x *Movie) String() string
- type News
- func (*News) Descriptor() ([]byte, []int)deprecated
- func (x *News) GetCreated() *timestamppb.Timestamp
- func (x *News) GetDate() *timestamppb.Timestamp
- func (x *News) GetId() int64
- func (x *News) GetImageUrl() string
- func (x *News) GetLink() string
- func (x *News) GetSourceIconUrl() string
- func (x *News) GetSourceId() string
- func (x *News) GetSourceTitle() string
- func (x *News) GetText() string
- func (x *News) GetTitle() string
- func (*News) ProtoMessage()
- func (x *News) ProtoReflect() protoreflect.Message
- func (x *News) Reset()
- func (x *News) String() string
- type NewsAlert
- func (*NewsAlert) Descriptor() ([]byte, []int)deprecated
- func (x *NewsAlert) GetCreated() *timestamppb.Timestamp
- func (x *NewsAlert) GetFrom() *timestamppb.Timestamp
- func (x *NewsAlert) GetImageUrl() string
- func (x *NewsAlert) GetLink() string
- func (x *NewsAlert) GetTo() *timestamppb.Timestamp
- func (*NewsAlert) ProtoMessage()
- func (x *NewsAlert) ProtoReflect() protoreflect.Message
- func (x *NewsAlert) Reset()
- func (x *NewsAlert) String() string
- type NewsSource
- func (*NewsSource) Descriptor() ([]byte, []int)deprecated
- func (x *NewsSource) GetIconUrl() string
- func (x *NewsSource) GetSource() string
- func (x *NewsSource) GetTitle() string
- func (*NewsSource) ProtoMessage()
- func (x *NewsSource) ProtoReflect() protoreflect.Message
- func (x *NewsSource) Reset()
- func (x *NewsSource) String() string
- type RatingTag
- type RatingTagNewRequest
- func (*RatingTagNewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RatingTagNewRequest) GetPoints() int32
- func (x *RatingTagNewRequest) GetTagId() int32
- func (*RatingTagNewRequest) ProtoMessage()
- func (x *RatingTagNewRequest) ProtoReflect() protoreflect.Message
- func (x *RatingTagNewRequest) Reset()
- func (x *RatingTagNewRequest) String() string
- type RatingTagResult
- func (*RatingTagResult) Descriptor() ([]byte, []int)deprecated
- func (x *RatingTagResult) GetAvg() float64
- func (x *RatingTagResult) GetMax() int32
- func (x *RatingTagResult) GetMin() int32
- func (x *RatingTagResult) GetStd() float64
- func (x *RatingTagResult) GetTagId() int32
- func (*RatingTagResult) ProtoMessage()
- func (x *RatingTagResult) ProtoReflect() protoreflect.Message
- func (x *RatingTagResult) Reset()
- func (x *RatingTagResult) String() string
- type RoomInformationElement
- func (*RoomInformationElement) Descriptor() ([]byte, []int)deprecated
- func (x *RoomInformationElement) GetAddress() string
- func (x *RoomInformationElement) GetArchId() string
- func (x *RoomInformationElement) GetBuildingNr() string
- func (x *RoomInformationElement) GetCampus() string
- func (x *RoomInformationElement) GetInfo() string
- func (x *RoomInformationElement) GetName() string
- func (x *RoomInformationElement) GetPurpose() string
- func (x *RoomInformationElement) GetRoomCode() string
- func (x *RoomInformationElement) GetRoomId() int32
- func (*RoomInformationElement) ProtoMessage()
- func (x *RoomInformationElement) ProtoReflect() protoreflect.Message
- func (x *RoomInformationElement) Reset()
- func (x *RoomInformationElement) String() string
- type SingleRatingReply
- func (*SingleRatingReply) Descriptor() ([]byte, []int)deprecated
- func (x *SingleRatingReply) GetComment() string
- func (x *SingleRatingReply) GetImage() []byte
- func (x *SingleRatingReply) GetPoints() int32
- func (x *SingleRatingReply) GetRatingTags() []*RatingTagNewRequest
- func (x *SingleRatingReply) GetVisited() *timestamppb.Timestamp
- func (*SingleRatingReply) ProtoMessage()
- func (x *SingleRatingReply) ProtoReflect() protoreflect.Message
- func (x *SingleRatingReply) Reset()
- func (x *SingleRatingReply) String() string
- type TagsOverview
- func (*TagsOverview) Descriptor() ([]byte, []int)deprecated
- func (x *TagsOverview) GetDe() string
- func (x *TagsOverview) GetEn() string
- func (x *TagsOverview) GetTagId() int32
- func (*TagsOverview) ProtoMessage()
- func (x *TagsOverview) ProtoReflect() protoreflect.Message
- func (x *TagsOverview) Reset()
- func (x *TagsOverview) String() string
- type UnimplementedCampusServer
- func (UnimplementedCampusServer) CreateCanteenRating(context.Context, *CreateCanteenRatingRequest) (*CreateCanteenRatingReply, error)
- func (UnimplementedCampusServer) CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceReply, error)
- func (UnimplementedCampusServer) CreateDishRating(context.Context, *CreateDishRatingRequest) (*CreateDishRatingReply, error)
- func (UnimplementedCampusServer) CreateFeedback(Campus_CreateFeedbackServer) error
- func (UnimplementedCampusServer) DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceReply, error)
- func (UnimplementedCampusServer) GetCanteenHeadCount(context.Context, *GetCanteenHeadCountRequest) (*GetCanteenHeadCountReply, error)
- func (UnimplementedCampusServer) GetDishRatings(context.Context, *GetDishRatingsRequest) (*GetDishRatingsReply, error)
- func (UnimplementedCampusServer) GetMember(context.Context, *GetMemberRequest) (*GetMemberReply, error)
- func (UnimplementedCampusServer) GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationReply, error)
- func (UnimplementedCampusServer) GetNotificationConfirm(context.Context, *GetNotificationConfirmRequest) (*GetNotificationConfirmReply, error)
- func (UnimplementedCampusServer) GetUpdateNote(context.Context, *GetUpdateNoteRequest) (*GetUpdateNoteReply, error)
- func (UnimplementedCampusServer) GetUploadStatus(context.Context, *GetUploadStatusRequest) (*GetUploadStatusReply, error)
- func (UnimplementedCampusServer) ListAvailableCanteenTags(context.Context, *ListAvailableCanteenTagsRequest) (*ListAvailableCanteenTagsReply, error)
- func (UnimplementedCampusServer) ListAvailableDishTags(context.Context, *ListAvailableDishTagsRequest) (*ListAvailableDishTagsReply, error)
- func (UnimplementedCampusServer) ListCanteenRatings(context.Context, *ListCanteenRatingsRequest) (*ListCanteenRatingsReply, error)
- func (UnimplementedCampusServer) ListCanteens(context.Context, *ListCanteensRequest) (*ListCanteensReply, error)
- func (UnimplementedCampusServer) ListDishes(context.Context, *ListDishesRequest) (*ListDishesReply, error)
- func (UnimplementedCampusServer) ListMovies(context.Context, *ListMoviesRequest) (*ListMoviesReply, error)
- func (UnimplementedCampusServer) ListNameTags(context.Context, *ListNameTagsRequest) (*ListNameTagsReply, error)
- func (UnimplementedCampusServer) ListNews(context.Context, *ListNewsRequest) (*ListNewsReply, error)
- func (UnimplementedCampusServer) ListNewsAlerts(context.Context, *ListNewsAlertsRequest) (*ListNewsAlertsReply, error)
- func (UnimplementedCampusServer) ListNewsSources(context.Context, *ListNewsSourcesRequest) (*ListNewsSourcesReply, error)
- type UnsafeCampusServer
Constants ¶
const ( Campus_ListNewsAlerts_FullMethodName = "/api.Campus/ListNewsAlerts" Campus_ListNewsSources_FullMethodName = "/api.Campus/ListNewsSources" Campus_ListNews_FullMethodName = "/api.Campus/ListNews" Campus_ListCanteenRatings_FullMethodName = "/api.Campus/ListCanteenRatings" Campus_GetDishRatings_FullMethodName = "/api.Campus/GetDishRatings" Campus_CreateCanteenRating_FullMethodName = "/api.Campus/CreateCanteenRating" Campus_CreateDishRating_FullMethodName = "/api.Campus/CreateDishRating" Campus_ListAvailableDishTags_FullMethodName = "/api.Campus/ListAvailableDishTags" Campus_ListNameTags_FullMethodName = "/api.Campus/ListNameTags" Campus_ListAvailableCanteenTags_FullMethodName = "/api.Campus/ListAvailableCanteenTags" Campus_ListCanteens_FullMethodName = "/api.Campus/ListCanteens" Campus_ListDishes_FullMethodName = "/api.Campus/ListDishes" Campus_GetUpdateNote_FullMethodName = "/api.Campus/GetUpdateNote" Campus_ListMovies_FullMethodName = "/api.Campus/ListMovies" Campus_CreateFeedback_FullMethodName = "/api.Campus/CreateFeedback" Campus_GetUploadStatus_FullMethodName = "/api.Campus/GetUploadStatus" Campus_GetNotification_FullMethodName = "/api.Campus/GetNotification" Campus_GetNotificationConfirm_FullMethodName = "/api.Campus/GetNotificationConfirm" Campus_GetMember_FullMethodName = "/api.Campus/GetMember" Campus_GetCanteenHeadCount_FullMethodName = "/api.Campus/GetCanteenHeadCount" Campus_CreateDevice_FullMethodName = "/api.Campus/CreateDevice" Campus_DeleteDevice_FullMethodName = "/api.Campus/DeleteDevice" )
Variables ¶
var ( DeviceType_name = map[int32]string{ 0: "IOS", 1: "ANDROID", 2: "WINDOWS", } DeviceType_value = map[string]int32{ "IOS": 0, "ANDROID": 1, "WINDOWS": 2, } )
Enum value maps for DeviceType.
var ( CreateFeedbackRequest_Recipient_name = map[int32]string{ 0: "TUM_DEV", 1: "TUM_CONTACT", } CreateFeedbackRequest_Recipient_value = map[string]int32{ "TUM_DEV": 0, "TUM_CONTACT": 1, } )
Enum value maps for CreateFeedbackRequest_Recipient.
var Campus_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.Campus", HandlerType: (*CampusServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListNewsAlerts", Handler: _Campus_ListNewsAlerts_Handler, }, { MethodName: "ListNewsSources", Handler: _Campus_ListNewsSources_Handler, }, { MethodName: "ListNews", Handler: _Campus_ListNews_Handler, }, { MethodName: "ListCanteenRatings", Handler: _Campus_ListCanteenRatings_Handler, }, { MethodName: "GetDishRatings", Handler: _Campus_GetDishRatings_Handler, }, { MethodName: "CreateCanteenRating", Handler: _Campus_CreateCanteenRating_Handler, }, { MethodName: "CreateDishRating", Handler: _Campus_CreateDishRating_Handler, }, { MethodName: "ListAvailableDishTags", Handler: _Campus_ListAvailableDishTags_Handler, }, { MethodName: "ListNameTags", Handler: _Campus_ListNameTags_Handler, }, { MethodName: "ListAvailableCanteenTags", Handler: _Campus_ListAvailableCanteenTags_Handler, }, { MethodName: "ListCanteens", Handler: _Campus_ListCanteens_Handler, }, { MethodName: "ListDishes", Handler: _Campus_ListDishes_Handler, }, { MethodName: "GetUpdateNote", Handler: _Campus_GetUpdateNote_Handler, }, { MethodName: "ListMovies", Handler: _Campus_ListMovies_Handler, }, { MethodName: "GetUploadStatus", Handler: _Campus_GetUploadStatus_Handler, }, { MethodName: "GetNotification", Handler: _Campus_GetNotification_Handler, }, { MethodName: "GetNotificationConfirm", Handler: _Campus_GetNotificationConfirm_Handler, }, { MethodName: "GetMember", Handler: _Campus_GetMember_Handler, }, { MethodName: "GetCanteenHeadCount", Handler: _Campus_GetCanteenHeadCount_Handler, }, { MethodName: "CreateDevice", Handler: _Campus_CreateDevice_Handler, }, { MethodName: "DeleteDevice", Handler: _Campus_DeleteDevice_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CreateFeedback", Handler: _Campus_CreateFeedback_Handler, ClientStreams: true, }, }, Metadata: "tumdev/campus_backend.proto", }
Campus_ServiceDesc is the grpc.ServiceDesc for Campus service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_tumdev_campus_backend_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCampusHandler ¶
RegisterCampusHandler registers the http handlers for service Campus to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCampusHandlerClient ¶
func RegisterCampusHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CampusClient) error
RegisterCampusHandlerClient registers the http handlers for service Campus to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CampusClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CampusClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CampusClient" to call the correct interceptors.
func RegisterCampusHandlerFromEndpoint ¶
func RegisterCampusHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCampusHandlerFromEndpoint is same as RegisterCampusHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCampusHandlerServer ¶
func RegisterCampusHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CampusServer) error
RegisterCampusHandlerServer registers the http handlers for service Campus to "mux". UnaryRPC :call CampusServer 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 RegisterCampusHandlerFromEndpoint instead.
func RegisterCampusServer ¶
func RegisterCampusServer(s grpc.ServiceRegistrar, srv CampusServer)
Types ¶
type CampusClient ¶
type CampusClient interface { ListNewsAlerts(ctx context.Context, in *ListNewsAlertsRequest, opts ...grpc.CallOption) (*ListNewsAlertsReply, error) ListNewsSources(ctx context.Context, in *ListNewsSourcesRequest, opts ...grpc.CallOption) (*ListNewsSourcesReply, error) ListNews(ctx context.Context, in *ListNewsRequest, opts ...grpc.CallOption) (*ListNewsReply, error) // This endpoint retrieves Canteen Ratings from the Backend. ListCanteenRatings(ctx context.Context, in *ListCanteenRatingsRequest, opts ...grpc.CallOption) (*ListCanteenRatingsReply, error) // Allows to query ratings for a specific dish in a specific cafeteria. GetDishRatings(ctx context.Context, in *GetDishRatingsRequest, opts ...grpc.CallOption) (*GetDishRatingsReply, error) CreateCanteenRating(ctx context.Context, in *CreateCanteenRatingRequest, opts ...grpc.CallOption) (*CreateCanteenRatingReply, error) CreateDishRating(ctx context.Context, in *CreateDishRatingRequest, opts ...grpc.CallOption) (*CreateDishRatingReply, error) ListAvailableDishTags(ctx context.Context, in *ListAvailableDishTagsRequest, opts ...grpc.CallOption) (*ListAvailableDishTagsReply, error) ListNameTags(ctx context.Context, in *ListNameTagsRequest, opts ...grpc.CallOption) (*ListNameTagsReply, error) ListAvailableCanteenTags(ctx context.Context, in *ListAvailableCanteenTagsRequest, opts ...grpc.CallOption) (*ListAvailableCanteenTagsReply, error) ListCanteens(ctx context.Context, in *ListCanteensRequest, opts ...grpc.CallOption) (*ListCanteensReply, error) // Returns all dishes for a specific cafeteria, year, week and day ListDishes(ctx context.Context, in *ListDishesRequest, opts ...grpc.CallOption) (*ListDishesReply, error) GetUpdateNote(ctx context.Context, in *GetUpdateNoteRequest, opts ...grpc.CallOption) (*GetUpdateNoteReply, error) ListMovies(ctx context.Context, in *ListMoviesRequest, opts ...grpc.CallOption) (*ListMoviesReply, error) CreateFeedback(ctx context.Context, opts ...grpc.CallOption) (Campus_CreateFeedbackClient, error) GetUploadStatus(ctx context.Context, in *GetUploadStatusRequest, opts ...grpc.CallOption) (*GetUploadStatusReply, error) GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*GetNotificationReply, error) GetNotificationConfirm(ctx context.Context, in *GetNotificationConfirmRequest, opts ...grpc.CallOption) (*GetNotificationConfirmReply, error) GetMember(ctx context.Context, in *GetMemberRequest, opts ...grpc.CallOption) (*GetMemberReply, error) GetCanteenHeadCount(ctx context.Context, in *GetCanteenHeadCountRequest, opts ...grpc.CallOption) (*GetCanteenHeadCountReply, error) // Create an device (Android/iOS/Windows) for push notifications CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*CreateDeviceReply, error) // Delete a device from push notifications DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceReply, error) }
CampusClient is the client API for Campus 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 NewCampusClient ¶
func NewCampusClient(cc grpc.ClientConnInterface) CampusClient
type CampusServer ¶
type CampusServer interface { ListNewsAlerts(context.Context, *ListNewsAlertsRequest) (*ListNewsAlertsReply, error) ListNewsSources(context.Context, *ListNewsSourcesRequest) (*ListNewsSourcesReply, error) ListNews(context.Context, *ListNewsRequest) (*ListNewsReply, error) // This endpoint retrieves Canteen Ratings from the Backend. ListCanteenRatings(context.Context, *ListCanteenRatingsRequest) (*ListCanteenRatingsReply, error) // Allows to query ratings for a specific dish in a specific cafeteria. GetDishRatings(context.Context, *GetDishRatingsRequest) (*GetDishRatingsReply, error) CreateCanteenRating(context.Context, *CreateCanteenRatingRequest) (*CreateCanteenRatingReply, error) CreateDishRating(context.Context, *CreateDishRatingRequest) (*CreateDishRatingReply, error) ListAvailableDishTags(context.Context, *ListAvailableDishTagsRequest) (*ListAvailableDishTagsReply, error) ListNameTags(context.Context, *ListNameTagsRequest) (*ListNameTagsReply, error) ListAvailableCanteenTags(context.Context, *ListAvailableCanteenTagsRequest) (*ListAvailableCanteenTagsReply, error) ListCanteens(context.Context, *ListCanteensRequest) (*ListCanteensReply, error) // Returns all dishes for a specific cafeteria, year, week and day ListDishes(context.Context, *ListDishesRequest) (*ListDishesReply, error) GetUpdateNote(context.Context, *GetUpdateNoteRequest) (*GetUpdateNoteReply, error) ListMovies(context.Context, *ListMoviesRequest) (*ListMoviesReply, error) CreateFeedback(Campus_CreateFeedbackServer) error GetUploadStatus(context.Context, *GetUploadStatusRequest) (*GetUploadStatusReply, error) GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationReply, error) GetNotificationConfirm(context.Context, *GetNotificationConfirmRequest) (*GetNotificationConfirmReply, error) GetMember(context.Context, *GetMemberRequest) (*GetMemberReply, error) GetCanteenHeadCount(context.Context, *GetCanteenHeadCountRequest) (*GetCanteenHeadCountReply, error) // Create an device (Android/iOS/Windows) for push notifications CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceReply, error) // Delete a device from push notifications DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceReply, error) // contains filtered or unexported methods }
CampusServer is the server API for Campus service. All implementations must embed UnimplementedCampusServer for forward compatibility
type Campus_CreateFeedbackClient ¶
type Campus_CreateFeedbackClient interface { Send(*CreateFeedbackRequest) error CloseAndRecv() (*CreateFeedbackReply, error) grpc.ClientStream }
type Campus_CreateFeedbackServer ¶
type Campus_CreateFeedbackServer interface { SendAndClose(*CreateFeedbackReply) error Recv() (*CreateFeedbackRequest, error) grpc.ServerStream }
type Canteen ¶
type Canteen struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"` Latitude float64 `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"` // contains filtered or unexported fields }
func (*Canteen) Descriptor
deprecated
func (*Canteen) GetAddress ¶
func (*Canteen) GetLatitude ¶
func (*Canteen) GetLongitude ¶
func (*Canteen) ProtoMessage ¶
func (*Canteen) ProtoMessage()
func (*Canteen) ProtoReflect ¶
func (x *Canteen) ProtoReflect() protoreflect.Message
type Coordinate ¶
type Coordinate struct { Latitude float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Coordinate) Descriptor
deprecated
func (*Coordinate) Descriptor() ([]byte, []int)
Deprecated: Use Coordinate.ProtoReflect.Descriptor instead.
func (*Coordinate) GetLatitude ¶
func (x *Coordinate) GetLatitude() float64
func (*Coordinate) GetLongitude ¶
func (x *Coordinate) GetLongitude() float64
func (*Coordinate) ProtoMessage ¶
func (*Coordinate) ProtoMessage()
func (*Coordinate) ProtoReflect ¶
func (x *Coordinate) ProtoReflect() protoreflect.Message
func (*Coordinate) Reset ¶
func (x *Coordinate) Reset()
func (*Coordinate) String ¶
func (x *Coordinate) String() string
type CreateCanteenRatingReply ¶
type CreateCanteenRatingReply struct {
// contains filtered or unexported fields
}
func (*CreateCanteenRatingReply) Descriptor
deprecated
func (*CreateCanteenRatingReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateCanteenRatingReply.ProtoReflect.Descriptor instead.
func (*CreateCanteenRatingReply) ProtoMessage ¶
func (*CreateCanteenRatingReply) ProtoMessage()
func (*CreateCanteenRatingReply) ProtoReflect ¶
func (x *CreateCanteenRatingReply) ProtoReflect() protoreflect.Message
func (*CreateCanteenRatingReply) Reset ¶
func (x *CreateCanteenRatingReply) Reset()
func (*CreateCanteenRatingReply) String ¶
func (x *CreateCanteenRatingReply) String() string
type CreateCanteenRatingRequest ¶
type CreateCanteenRatingRequest struct { // number in the range 1-5 Points int32 `protobuf:"varint,1,opt,name=points,proto3" json:"points,omitempty"` CanteenId string `protobuf:"bytes,2,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` Image []byte `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Optional list of tag ratings add as many tags with a rating (1-5) of the list of canteenRatingTags RatingTags []*RatingTag `protobuf:"bytes,4,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // Optional comment (max 256 chars) Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CreateCanteenRatingRequest) Descriptor
deprecated
func (*CreateCanteenRatingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCanteenRatingRequest.ProtoReflect.Descriptor instead.
func (*CreateCanteenRatingRequest) GetCanteenId ¶
func (x *CreateCanteenRatingRequest) GetCanteenId() string
func (*CreateCanteenRatingRequest) GetComment ¶
func (x *CreateCanteenRatingRequest) GetComment() string
func (*CreateCanteenRatingRequest) GetImage ¶
func (x *CreateCanteenRatingRequest) GetImage() []byte
func (*CreateCanteenRatingRequest) GetPoints ¶
func (x *CreateCanteenRatingRequest) GetPoints() int32
func (*CreateCanteenRatingRequest) GetRatingTags ¶
func (x *CreateCanteenRatingRequest) GetRatingTags() []*RatingTag
func (*CreateCanteenRatingRequest) ProtoMessage ¶
func (*CreateCanteenRatingRequest) ProtoMessage()
func (*CreateCanteenRatingRequest) ProtoReflect ¶
func (x *CreateCanteenRatingRequest) ProtoReflect() protoreflect.Message
func (*CreateCanteenRatingRequest) Reset ¶
func (x *CreateCanteenRatingRequest) Reset()
func (*CreateCanteenRatingRequest) String ¶
func (x *CreateCanteenRatingRequest) String() string
type CreateDeviceReply ¶
type CreateDeviceReply struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDeviceReply) Descriptor
deprecated
func (*CreateDeviceReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceReply.ProtoReflect.Descriptor instead.
func (*CreateDeviceReply) GetDeviceId ¶
func (x *CreateDeviceReply) GetDeviceId() string
func (*CreateDeviceReply) ProtoMessage ¶
func (*CreateDeviceReply) ProtoMessage()
func (*CreateDeviceReply) ProtoReflect ¶
func (x *CreateDeviceReply) ProtoReflect() protoreflect.Message
func (*CreateDeviceReply) Reset ¶
func (x *CreateDeviceReply) Reset()
func (*CreateDeviceReply) String ¶
func (x *CreateDeviceReply) String() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` DeviceType DeviceType `protobuf:"varint,3,opt,name=device_type,json=deviceType,proto3,enum=api.DeviceType" json:"device_type,omitempty"` // contains filtered or unexported fields }
func (*CreateDeviceRequest) Descriptor
deprecated
func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeviceRequest.ProtoReflect.Descriptor instead.
func (*CreateDeviceRequest) GetDeviceId ¶
func (x *CreateDeviceRequest) GetDeviceId() string
func (*CreateDeviceRequest) GetDeviceType ¶
func (x *CreateDeviceRequest) GetDeviceType() DeviceType
func (*CreateDeviceRequest) GetPublicKey ¶
func (x *CreateDeviceRequest) GetPublicKey() string
func (*CreateDeviceRequest) ProtoMessage ¶
func (*CreateDeviceRequest) ProtoMessage()
func (*CreateDeviceRequest) ProtoReflect ¶
func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message
func (*CreateDeviceRequest) Reset ¶
func (x *CreateDeviceRequest) Reset()
func (*CreateDeviceRequest) String ¶
func (x *CreateDeviceRequest) String() string
type CreateDishRatingReply ¶
type CreateDishRatingReply struct {
// contains filtered or unexported fields
}
func (*CreateDishRatingReply) Descriptor
deprecated
func (*CreateDishRatingReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateDishRatingReply.ProtoReflect.Descriptor instead.
func (*CreateDishRatingReply) ProtoMessage ¶
func (*CreateDishRatingReply) ProtoMessage()
func (*CreateDishRatingReply) ProtoReflect ¶
func (x *CreateDishRatingReply) ProtoReflect() protoreflect.Message
func (*CreateDishRatingReply) Reset ¶
func (x *CreateDishRatingReply) Reset()
func (*CreateDishRatingReply) String ¶
func (x *CreateDishRatingReply) String() string
type CreateDishRatingRequest ¶
type CreateDishRatingRequest struct { // number in the range 1-5 Points int32 `protobuf:"varint,1,opt,name=points,proto3" json:"points,omitempty"` // Mandatory Name of the dish (EAT-API naming scheme "MENSA_GARCHING") Must be available in the given cafeteria CanteenId string `protobuf:"bytes,2,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` // Mandatory Name of the dish (EAT-API naming scheme) // Must be available in the given cafeteria Dish string `protobuf:"bytes,3,opt,name=dish,proto3" json:"dish,omitempty"` // Optional JPEG image in Base64 Image []byte `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // Optional list of tag ratings add as many tags with a rating (1-5) of the list of dishRatingTags RatingTags []*RatingTag `protobuf:"bytes,5,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // Optional comment (max 256 chars) Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CreateDishRatingRequest) Descriptor
deprecated
func (*CreateDishRatingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDishRatingRequest.ProtoReflect.Descriptor instead.
func (*CreateDishRatingRequest) GetCanteenId ¶
func (x *CreateDishRatingRequest) GetCanteenId() string
func (*CreateDishRatingRequest) GetComment ¶
func (x *CreateDishRatingRequest) GetComment() string
func (*CreateDishRatingRequest) GetDish ¶
func (x *CreateDishRatingRequest) GetDish() string
func (*CreateDishRatingRequest) GetImage ¶
func (x *CreateDishRatingRequest) GetImage() []byte
func (*CreateDishRatingRequest) GetPoints ¶
func (x *CreateDishRatingRequest) GetPoints() int32
func (*CreateDishRatingRequest) GetRatingTags ¶
func (x *CreateDishRatingRequest) GetRatingTags() []*RatingTag
func (*CreateDishRatingRequest) ProtoMessage ¶
func (*CreateDishRatingRequest) ProtoMessage()
func (*CreateDishRatingRequest) ProtoReflect ¶
func (x *CreateDishRatingRequest) ProtoReflect() protoreflect.Message
func (*CreateDishRatingRequest) Reset ¶
func (x *CreateDishRatingRequest) Reset()
func (*CreateDishRatingRequest) String ¶
func (x *CreateDishRatingRequest) String() string
type CreateFeedbackImageReply ¶
type CreateFeedbackImageReply struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CreateFeedbackImageReply) Descriptor
deprecated
func (*CreateFeedbackImageReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackImageReply.ProtoReflect.Descriptor instead.
func (*CreateFeedbackImageReply) GetStatus ¶
func (x *CreateFeedbackImageReply) GetStatus() string
func (*CreateFeedbackImageReply) ProtoMessage ¶
func (*CreateFeedbackImageReply) ProtoMessage()
func (*CreateFeedbackImageReply) ProtoReflect ¶
func (x *CreateFeedbackImageReply) ProtoReflect() protoreflect.Message
func (*CreateFeedbackImageReply) Reset ¶
func (x *CreateFeedbackImageReply) Reset()
func (*CreateFeedbackImageReply) String ¶
func (x *CreateFeedbackImageReply) String() string
type CreateFeedbackImageRequest ¶
type CreateFeedbackImageRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ImageNr int32 `protobuf:"varint,2,opt,name=image_nr,json=imageNr,proto3" json:"image_nr,omitempty"` //todo where does the file come from? // contains filtered or unexported fields }
func (*CreateFeedbackImageRequest) Descriptor
deprecated
func (*CreateFeedbackImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackImageRequest.ProtoReflect.Descriptor instead.
func (*CreateFeedbackImageRequest) GetId ¶
func (x *CreateFeedbackImageRequest) GetId() int32
func (*CreateFeedbackImageRequest) GetImageNr ¶
func (x *CreateFeedbackImageRequest) GetImageNr() int32
func (*CreateFeedbackImageRequest) ProtoMessage ¶
func (*CreateFeedbackImageRequest) ProtoMessage()
func (*CreateFeedbackImageRequest) ProtoReflect ¶
func (x *CreateFeedbackImageRequest) ProtoReflect() protoreflect.Message
func (*CreateFeedbackImageRequest) Reset ¶
func (x *CreateFeedbackImageRequest) Reset()
func (*CreateFeedbackImageRequest) String ¶
func (x *CreateFeedbackImageRequest) String() string
type CreateFeedbackReply ¶
type CreateFeedbackReply struct {
// contains filtered or unexported fields
}
func (*CreateFeedbackReply) Descriptor
deprecated
func (*CreateFeedbackReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackReply.ProtoReflect.Descriptor instead.
func (*CreateFeedbackReply) ProtoMessage ¶
func (*CreateFeedbackReply) ProtoMessage()
func (*CreateFeedbackReply) ProtoReflect ¶
func (x *CreateFeedbackReply) ProtoReflect() protoreflect.Message
func (*CreateFeedbackReply) Reset ¶
func (x *CreateFeedbackReply) Reset()
func (*CreateFeedbackReply) String ¶
func (x *CreateFeedbackReply) String() string
type CreateFeedbackRequest ¶
type CreateFeedbackRequest struct { // who is the feedback for Recipient CreateFeedbackRequest_Recipient `protobuf:"varint,1,opt,name=recipient,proto3,enum=api.CreateFeedbackRequest_Recipient" json:"recipient,omitempty"` // the email address of the user FromEmail string `protobuf:"bytes,2,opt,name=from_email,json=fromEmail,proto3" json:"from_email,omitempty"` // how the person wants to be called FromName string `protobuf:"bytes,8,opt,name=from_name,json=fromName,proto3" json:"from_name,omitempty"` // The actual message Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Optional location which the user can choose (data protection) to attach or not Location *Coordinate `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Optional os information which the user can choose (data protection) to attach or not OsVersion string `protobuf:"bytes,5,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"` // Optional app information which the user can choose (data protection) to attach or not AppVersion string `protobuf:"bytes,6,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` // Optional file in Base64. // Accepted file formats: jpeg, jpg, png, webp, md, txt, pdf // Maximum file size 4MB as by Protobuf maximum per request message size Attachment []byte `protobuf:"bytes,7,opt,name=attachment,proto3" json:"attachment,omitempty"` // contains filtered or unexported fields }
func (*CreateFeedbackRequest) Descriptor
deprecated
func (*CreateFeedbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackRequest.ProtoReflect.Descriptor instead.
func (*CreateFeedbackRequest) GetAppVersion ¶
func (x *CreateFeedbackRequest) GetAppVersion() string
func (*CreateFeedbackRequest) GetAttachment ¶
func (x *CreateFeedbackRequest) GetAttachment() []byte
func (*CreateFeedbackRequest) GetFromEmail ¶
func (x *CreateFeedbackRequest) GetFromEmail() string
func (*CreateFeedbackRequest) GetFromName ¶
func (x *CreateFeedbackRequest) GetFromName() string
func (*CreateFeedbackRequest) GetLocation ¶
func (x *CreateFeedbackRequest) GetLocation() *Coordinate
func (*CreateFeedbackRequest) GetMessage ¶
func (x *CreateFeedbackRequest) GetMessage() string
func (*CreateFeedbackRequest) GetOsVersion ¶
func (x *CreateFeedbackRequest) GetOsVersion() string
func (*CreateFeedbackRequest) GetRecipient ¶
func (x *CreateFeedbackRequest) GetRecipient() CreateFeedbackRequest_Recipient
func (*CreateFeedbackRequest) ProtoMessage ¶
func (*CreateFeedbackRequest) ProtoMessage()
func (*CreateFeedbackRequest) ProtoReflect ¶
func (x *CreateFeedbackRequest) ProtoReflect() protoreflect.Message
func (*CreateFeedbackRequest) Reset ¶
func (x *CreateFeedbackRequest) Reset()
func (*CreateFeedbackRequest) String ¶
func (x *CreateFeedbackRequest) String() string
type CreateFeedbackRequest_Recipient ¶
type CreateFeedbackRequest_Recipient int32
const ( // Feedback for the TUM Dev Team CreateFeedbackRequest_TUM_DEV CreateFeedbackRequest_Recipient = 0 // Feedback for the general TUM Contact Form CreateFeedbackRequest_TUM_CONTACT CreateFeedbackRequest_Recipient = 1 )
func (CreateFeedbackRequest_Recipient) Descriptor ¶
func (CreateFeedbackRequest_Recipient) Descriptor() protoreflect.EnumDescriptor
func (CreateFeedbackRequest_Recipient) Enum ¶
func (x CreateFeedbackRequest_Recipient) Enum() *CreateFeedbackRequest_Recipient
func (CreateFeedbackRequest_Recipient) EnumDescriptor
deprecated
func (CreateFeedbackRequest_Recipient) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackRequest_Recipient.Descriptor instead.
func (CreateFeedbackRequest_Recipient) Number ¶
func (x CreateFeedbackRequest_Recipient) Number() protoreflect.EnumNumber
func (CreateFeedbackRequest_Recipient) String ¶
func (x CreateFeedbackRequest_Recipient) String() string
func (CreateFeedbackRequest_Recipient) Type ¶
func (CreateFeedbackRequest_Recipient) Type() protoreflect.EnumType
type DeleteDeviceReply ¶
type DeleteDeviceReply struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceReply) Descriptor
deprecated
func (*DeleteDeviceReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceReply.ProtoReflect.Descriptor instead.
func (*DeleteDeviceReply) GetDeviceId ¶
func (x *DeleteDeviceReply) GetDeviceId() string
func (*DeleteDeviceReply) ProtoMessage ¶
func (*DeleteDeviceReply) ProtoMessage()
func (*DeleteDeviceReply) ProtoReflect ¶
func (x *DeleteDeviceReply) ProtoReflect() protoreflect.Message
func (*DeleteDeviceReply) Reset ¶
func (x *DeleteDeviceReply) Reset()
func (*DeleteDeviceReply) String ¶
func (x *DeleteDeviceReply) String() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` DeviceType DeviceType `protobuf:"varint,2,opt,name=device_type,json=deviceType,proto3,enum=api.DeviceType" json:"device_type,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceRequest) Descriptor
deprecated
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeviceRequest) GetDeviceId ¶
func (x *DeleteDeviceRequest) GetDeviceId() string
func (*DeleteDeviceRequest) GetDeviceType ¶
func (x *DeleteDeviceRequest) GetDeviceType() DeviceType
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) ProtoReflect ¶
func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeviceRequest) Reset ¶
func (x *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) String ¶
func (x *DeleteDeviceRequest) String() string
type DeviceType ¶
type DeviceType int32
const ( DeviceType_IOS DeviceType = 0 DeviceType_ANDROID DeviceType = 1 DeviceType_WINDOWS DeviceType = 2 )
func (DeviceType) Descriptor ¶
func (DeviceType) Descriptor() protoreflect.EnumDescriptor
func (DeviceType) Enum ¶
func (x DeviceType) Enum() *DeviceType
func (DeviceType) EnumDescriptor
deprecated
func (DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceType.Descriptor instead.
func (DeviceType) Number ¶
func (x DeviceType) Number() protoreflect.EnumNumber
func (DeviceType) String ¶
func (x DeviceType) String() string
func (DeviceType) Type ¶
func (DeviceType) Type() protoreflect.EnumType
type GetCanteenHeadCountReply ¶
type GetCanteenHeadCountReply struct { // The absolut count of humans in the canteen. Only valid in case percent != -1. Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // The maximum nunmber of humans in the canteen for the percent to be 100.00. Only valid in case percent != -1. MaxCount uint32 `protobuf:"varint,2,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // Current capacity utilization of the canteen clamped to 0 and 100 or -1 in case no data is available. Percent float32 `protobuf:"fixed32,3,opt,name=percent,proto3" json:"percent,omitempty"` // A time stamp indicating how up to date the response is. Only valid in case percent != -1. Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*GetCanteenHeadCountReply) Descriptor
deprecated
func (*GetCanteenHeadCountReply) Descriptor() ([]byte, []int)
Deprecated: Use GetCanteenHeadCountReply.ProtoReflect.Descriptor instead.
func (*GetCanteenHeadCountReply) GetCount ¶
func (x *GetCanteenHeadCountReply) GetCount() uint32
func (*GetCanteenHeadCountReply) GetMaxCount ¶
func (x *GetCanteenHeadCountReply) GetMaxCount() uint32
func (*GetCanteenHeadCountReply) GetPercent ¶
func (x *GetCanteenHeadCountReply) GetPercent() float32
func (*GetCanteenHeadCountReply) GetTimestamp ¶
func (x *GetCanteenHeadCountReply) GetTimestamp() *timestamppb.Timestamp
func (*GetCanteenHeadCountReply) ProtoMessage ¶
func (*GetCanteenHeadCountReply) ProtoMessage()
func (*GetCanteenHeadCountReply) ProtoReflect ¶
func (x *GetCanteenHeadCountReply) ProtoReflect() protoreflect.Message
func (*GetCanteenHeadCountReply) Reset ¶
func (x *GetCanteenHeadCountReply) Reset()
func (*GetCanteenHeadCountReply) String ¶
func (x *GetCanteenHeadCountReply) String() string
type GetCanteenHeadCountRequest ¶
type GetCanteenHeadCountRequest struct { // The requested canteen ID CanteenId string `protobuf:"bytes,1,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` // contains filtered or unexported fields }
func (*GetCanteenHeadCountRequest) Descriptor
deprecated
func (*GetCanteenHeadCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCanteenHeadCountRequest.ProtoReflect.Descriptor instead.
func (*GetCanteenHeadCountRequest) GetCanteenId ¶
func (x *GetCanteenHeadCountRequest) GetCanteenId() string
func (*GetCanteenHeadCountRequest) ProtoMessage ¶
func (*GetCanteenHeadCountRequest) ProtoMessage()
func (*GetCanteenHeadCountRequest) ProtoReflect ¶
func (x *GetCanteenHeadCountRequest) ProtoReflect() protoreflect.Message
func (*GetCanteenHeadCountRequest) Reset ¶
func (x *GetCanteenHeadCountRequest) Reset()
func (*GetCanteenHeadCountRequest) String ¶
func (x *GetCanteenHeadCountRequest) String() string
type GetDishRatingsReply ¶
type GetDishRatingsReply struct { // a number of actual ratings Rating []*SingleRatingReply `protobuf:"bytes,1,rep,name=rating,proto3" json:"rating,omitempty"` // average rating for all dish rating tags which were used to rate this dish in this cafeteria Avg float64 `protobuf:"fixed64,2,opt,name=avg,proto3" json:"avg,omitempty"` // std of all dish rating tags which were used to rate this dish in this cafeteria Std float64 `protobuf:"fixed64,3,opt,name=std,proto3" json:"std,omitempty"` // minimum of all dish rating tags which were used to rate this dish in this cafeteria Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` // maximum of all dish rating tags which were used to rate this dish in this cafeteria Max int32 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"` RatingTags []*RatingTagResult `protobuf:"bytes,6,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` NameTags []*RatingTagResult `protobuf:"bytes,7,rep,name=name_tags,json=nameTags,proto3" json:"name_tags,omitempty"` // contains filtered or unexported fields }
func (*GetDishRatingsReply) Descriptor
deprecated
func (*GetDishRatingsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDishRatingsReply.ProtoReflect.Descriptor instead.
func (*GetDishRatingsReply) GetAvg ¶
func (x *GetDishRatingsReply) GetAvg() float64
func (*GetDishRatingsReply) GetMax ¶
func (x *GetDishRatingsReply) GetMax() int32
func (*GetDishRatingsReply) GetMin ¶
func (x *GetDishRatingsReply) GetMin() int32
func (*GetDishRatingsReply) GetNameTags ¶
func (x *GetDishRatingsReply) GetNameTags() []*RatingTagResult
func (*GetDishRatingsReply) GetRating ¶
func (x *GetDishRatingsReply) GetRating() []*SingleRatingReply
func (*GetDishRatingsReply) GetRatingTags ¶
func (x *GetDishRatingsReply) GetRatingTags() []*RatingTagResult
func (*GetDishRatingsReply) GetStd ¶
func (x *GetDishRatingsReply) GetStd() float64
func (*GetDishRatingsReply) ProtoMessage ¶
func (*GetDishRatingsReply) ProtoMessage()
func (*GetDishRatingsReply) ProtoReflect ¶
func (x *GetDishRatingsReply) ProtoReflect() protoreflect.Message
func (*GetDishRatingsReply) Reset ¶
func (x *GetDishRatingsReply) Reset()
func (*GetDishRatingsReply) String ¶
func (x *GetDishRatingsReply) String() string
type GetDishRatingsRequest ¶
type GetDishRatingsRequest struct { // Mandatory Name of the canteen (EAT-API naming scheme "MENSA_GARCHING") CanteenId string `protobuf:"bytes,1,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` // Mandatory Name of the dish (EAT-API naming scheme) // Must be available in the given cafeteria Dish string `protobuf:"bytes,2,opt,name=dish,proto3" json:"dish,omitempty"` // Optional Parameter to define an interval for the ratings (Lower bound) From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` // Optional Parameter to define an interval for the ratings (Upper bound) To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` // Optional Parameter defines how many ratings are queried. If all ratings should be queried, enter "-1" Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetDishRatingsRequest) Descriptor
deprecated
func (*GetDishRatingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDishRatingsRequest.ProtoReflect.Descriptor instead.
func (*GetDishRatingsRequest) GetCanteenId ¶
func (x *GetDishRatingsRequest) GetCanteenId() string
func (*GetDishRatingsRequest) GetDish ¶
func (x *GetDishRatingsRequest) GetDish() string
func (*GetDishRatingsRequest) GetFrom ¶
func (x *GetDishRatingsRequest) GetFrom() *timestamppb.Timestamp
func (*GetDishRatingsRequest) GetLimit ¶
func (x *GetDishRatingsRequest) GetLimit() int32
func (*GetDishRatingsRequest) GetTo ¶
func (x *GetDishRatingsRequest) GetTo() *timestamppb.Timestamp
func (*GetDishRatingsRequest) ProtoMessage ¶
func (*GetDishRatingsRequest) ProtoMessage()
func (*GetDishRatingsRequest) ProtoReflect ¶
func (x *GetDishRatingsRequest) ProtoReflect() protoreflect.Message
func (*GetDishRatingsRequest) Reset ¶
func (x *GetDishRatingsRequest) Reset()
func (*GetDishRatingsRequest) String ¶
func (x *GetDishRatingsRequest) String() string
type GetMemberReply ¶
type GetMemberReply struct { LrzId string `protobuf:"bytes,1,opt,name=lrz_id,json=lrzId,proto3" json:"lrz_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MemberId int32 `protobuf:"varint,3,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` // contains filtered or unexported fields }
func (*GetMemberReply) Descriptor
deprecated
func (*GetMemberReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMemberReply.ProtoReflect.Descriptor instead.
func (*GetMemberReply) GetLrzId ¶
func (x *GetMemberReply) GetLrzId() string
func (*GetMemberReply) GetMemberId ¶
func (x *GetMemberReply) GetMemberId() int32
func (*GetMemberReply) GetName ¶
func (x *GetMemberReply) GetName() string
func (*GetMemberReply) ProtoMessage ¶
func (*GetMemberReply) ProtoMessage()
func (*GetMemberReply) ProtoReflect ¶
func (x *GetMemberReply) ProtoReflect() protoreflect.Message
func (*GetMemberReply) Reset ¶
func (x *GetMemberReply) Reset()
func (*GetMemberReply) String ¶
func (x *GetMemberReply) String() string
type GetMemberRequest ¶
type GetMemberRequest struct { LrzId string `protobuf:"bytes,1,opt,name=lrz_id,json=lrzId,proto3" json:"lrz_id,omitempty"` // contains filtered or unexported fields }
func (*GetMemberRequest) Descriptor
deprecated
func (*GetMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMemberRequest.ProtoReflect.Descriptor instead.
func (*GetMemberRequest) GetLrzId ¶
func (x *GetMemberRequest) GetLrzId() string
func (*GetMemberRequest) ProtoMessage ¶
func (*GetMemberRequest) ProtoMessage()
func (*GetMemberRequest) ProtoReflect ¶
func (x *GetMemberRequest) ProtoReflect() protoreflect.Message
func (*GetMemberRequest) Reset ¶
func (x *GetMemberRequest) Reset()
func (*GetMemberRequest) String ¶
func (x *GetMemberRequest) String() string
type GetNotificationConfirmReply ¶
type GetNotificationConfirmReply struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationConfirmReply) Descriptor
deprecated
func (*GetNotificationConfirmReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationConfirmReply.ProtoReflect.Descriptor instead.
func (*GetNotificationConfirmReply) GetStatus ¶
func (x *GetNotificationConfirmReply) GetStatus() string
func (*GetNotificationConfirmReply) ProtoMessage ¶
func (*GetNotificationConfirmReply) ProtoMessage()
func (*GetNotificationConfirmReply) ProtoReflect ¶
func (x *GetNotificationConfirmReply) ProtoReflect() protoreflect.Message
func (*GetNotificationConfirmReply) Reset ¶
func (x *GetNotificationConfirmReply) Reset()
func (*GetNotificationConfirmReply) String ¶
func (x *GetNotificationConfirmReply) String() string
type GetNotificationConfirmRequest ¶
type GetNotificationConfirmRequest struct { NotificationId int32 `protobuf:"varint,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationConfirmRequest) Descriptor
deprecated
func (*GetNotificationConfirmRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationConfirmRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationConfirmRequest) GetNotificationId ¶
func (x *GetNotificationConfirmRequest) GetNotificationId() int32
func (*GetNotificationConfirmRequest) ProtoMessage ¶
func (*GetNotificationConfirmRequest) ProtoMessage()
func (*GetNotificationConfirmRequest) ProtoReflect ¶
func (x *GetNotificationConfirmRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationConfirmRequest) Reset ¶
func (x *GetNotificationConfirmRequest) Reset()
func (*GetNotificationConfirmRequest) String ¶
func (x *GetNotificationConfirmRequest) String() string
type GetNotificationReply ¶
type GetNotificationReply struct { NotificationId int32 `protobuf:"varint,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationReply) Descriptor
deprecated
func (*GetNotificationReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationReply.ProtoReflect.Descriptor instead.
func (*GetNotificationReply) GetDescription ¶
func (x *GetNotificationReply) GetDescription() string
func (*GetNotificationReply) GetNotificationId ¶
func (x *GetNotificationReply) GetNotificationId() int32
func (*GetNotificationReply) GetSignature ¶
func (x *GetNotificationReply) GetSignature() string
func (*GetNotificationReply) GetTitle ¶
func (x *GetNotificationReply) GetTitle() string
func (*GetNotificationReply) GetType ¶
func (x *GetNotificationReply) GetType() int32
func (*GetNotificationReply) ProtoMessage ¶
func (*GetNotificationReply) ProtoMessage()
func (*GetNotificationReply) ProtoReflect ¶
func (x *GetNotificationReply) ProtoReflect() protoreflect.Message
func (*GetNotificationReply) Reset ¶
func (x *GetNotificationReply) Reset()
func (*GetNotificationReply) String ¶
func (x *GetNotificationReply) String() string
type GetNotificationRequest ¶
type GetNotificationRequest struct { NotificationId int32 `protobuf:"varint,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationRequest) Descriptor
deprecated
func (*GetNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationRequest) GetNotificationId ¶
func (x *GetNotificationRequest) GetNotificationId() int32
func (*GetNotificationRequest) ProtoMessage ¶
func (*GetNotificationRequest) ProtoMessage()
func (*GetNotificationRequest) ProtoReflect ¶
func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationRequest) Reset ¶
func (x *GetNotificationRequest) Reset()
func (*GetNotificationRequest) String ¶
func (x *GetNotificationRequest) String() string
type GetUpdateNoteReply ¶
type GetUpdateNoteReply struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` VersionName string `protobuf:"bytes,2,opt,name=version_name,json=versionName,proto3" json:"version_name,omitempty"` // contains filtered or unexported fields }
func (*GetUpdateNoteReply) Descriptor
deprecated
func (*GetUpdateNoteReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdateNoteReply.ProtoReflect.Descriptor instead.
func (*GetUpdateNoteReply) GetMessage ¶
func (x *GetUpdateNoteReply) GetMessage() string
func (*GetUpdateNoteReply) GetVersionName ¶
func (x *GetUpdateNoteReply) GetVersionName() string
func (*GetUpdateNoteReply) ProtoMessage ¶
func (*GetUpdateNoteReply) ProtoMessage()
func (*GetUpdateNoteReply) ProtoReflect ¶
func (x *GetUpdateNoteReply) ProtoReflect() protoreflect.Message
func (*GetUpdateNoteReply) Reset ¶
func (x *GetUpdateNoteReply) Reset()
func (*GetUpdateNoteReply) String ¶
func (x *GetUpdateNoteReply) String() string
type GetUpdateNoteRequest ¶
type GetUpdateNoteRequest struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*GetUpdateNoteRequest) Descriptor
deprecated
func (*GetUpdateNoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdateNoteRequest.ProtoReflect.Descriptor instead.
func (*GetUpdateNoteRequest) GetVersion ¶
func (x *GetUpdateNoteRequest) GetVersion() int64
func (*GetUpdateNoteRequest) ProtoMessage ¶
func (*GetUpdateNoteRequest) ProtoMessage()
func (*GetUpdateNoteRequest) ProtoReflect ¶
func (x *GetUpdateNoteRequest) ProtoReflect() protoreflect.Message
func (*GetUpdateNoteRequest) Reset ¶
func (x *GetUpdateNoteRequest) Reset()
func (*GetUpdateNoteRequest) String ¶
func (x *GetUpdateNoteRequest) String() string
type GetUploadStatusReply ¶
type GetUploadStatusReply struct { FcmToken string `protobuf:"bytes,1,opt,name=fcm_token,json=fcmToken,proto3" json:"fcm_token,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` StudentId bool `protobuf:"varint,3,opt,name=student_id,json=studentId,proto3" json:"student_id,omitempty"` EmployeeId bool `protobuf:"varint,4,opt,name=employee_id,json=employeeId,proto3" json:"employee_id,omitempty"` ExternalId bool `protobuf:"varint,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func (*GetUploadStatusReply) Descriptor
deprecated
func (*GetUploadStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUploadStatusReply.ProtoReflect.Descriptor instead.
func (*GetUploadStatusReply) GetEmployeeId ¶
func (x *GetUploadStatusReply) GetEmployeeId() bool
func (*GetUploadStatusReply) GetExternalId ¶
func (x *GetUploadStatusReply) GetExternalId() bool
func (*GetUploadStatusReply) GetFcmToken ¶
func (x *GetUploadStatusReply) GetFcmToken() string
func (*GetUploadStatusReply) GetPublicKey ¶
func (x *GetUploadStatusReply) GetPublicKey() string
func (*GetUploadStatusReply) GetStudentId ¶
func (x *GetUploadStatusReply) GetStudentId() bool
func (*GetUploadStatusReply) ProtoMessage ¶
func (*GetUploadStatusReply) ProtoMessage()
func (*GetUploadStatusReply) ProtoReflect ¶
func (x *GetUploadStatusReply) ProtoReflect() protoreflect.Message
func (*GetUploadStatusReply) Reset ¶
func (x *GetUploadStatusReply) Reset()
func (*GetUploadStatusReply) String ¶
func (x *GetUploadStatusReply) String() string
type GetUploadStatusRequest ¶
type GetUploadStatusRequest struct { LrzId string `protobuf:"bytes,1,opt,name=lrz_id,json=lrzId,proto3" json:"lrz_id,omitempty"` // contains filtered or unexported fields }
func (*GetUploadStatusRequest) Descriptor
deprecated
func (*GetUploadStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUploadStatusRequest.ProtoReflect.Descriptor instead.
func (*GetUploadStatusRequest) GetLrzId ¶
func (x *GetUploadStatusRequest) GetLrzId() string
func (*GetUploadStatusRequest) ProtoMessage ¶
func (*GetUploadStatusRequest) ProtoMessage()
func (*GetUploadStatusRequest) ProtoReflect ¶
func (x *GetUploadStatusRequest) ProtoReflect() protoreflect.Message
func (*GetUploadStatusRequest) Reset ¶
func (x *GetUploadStatusRequest) Reset()
func (*GetUploadStatusRequest) String ¶
func (x *GetUploadStatusRequest) String() string
type ListAvailableCanteenTagsReply ¶
type ListAvailableCanteenTagsReply struct { RatingTags []*TagsOverview `protobuf:"bytes,1,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // contains filtered or unexported fields }
func (*ListAvailableCanteenTagsReply) Descriptor
deprecated
func (*ListAvailableCanteenTagsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableCanteenTagsReply.ProtoReflect.Descriptor instead.
func (*ListAvailableCanteenTagsReply) GetRatingTags ¶
func (x *ListAvailableCanteenTagsReply) GetRatingTags() []*TagsOverview
func (*ListAvailableCanteenTagsReply) ProtoMessage ¶
func (*ListAvailableCanteenTagsReply) ProtoMessage()
func (*ListAvailableCanteenTagsReply) ProtoReflect ¶
func (x *ListAvailableCanteenTagsReply) ProtoReflect() protoreflect.Message
func (*ListAvailableCanteenTagsReply) Reset ¶
func (x *ListAvailableCanteenTagsReply) Reset()
func (*ListAvailableCanteenTagsReply) String ¶
func (x *ListAvailableCanteenTagsReply) String() string
type ListAvailableCanteenTagsRequest ¶
type ListAvailableCanteenTagsRequest struct {
// contains filtered or unexported fields
}
func (*ListAvailableCanteenTagsRequest) Descriptor
deprecated
func (*ListAvailableCanteenTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableCanteenTagsRequest.ProtoReflect.Descriptor instead.
func (*ListAvailableCanteenTagsRequest) ProtoMessage ¶
func (*ListAvailableCanteenTagsRequest) ProtoMessage()
func (*ListAvailableCanteenTagsRequest) ProtoReflect ¶
func (x *ListAvailableCanteenTagsRequest) ProtoReflect() protoreflect.Message
func (*ListAvailableCanteenTagsRequest) Reset ¶
func (x *ListAvailableCanteenTagsRequest) Reset()
func (*ListAvailableCanteenTagsRequest) String ¶
func (x *ListAvailableCanteenTagsRequest) String() string
type ListAvailableDishTagsReply ¶
type ListAvailableDishTagsReply struct { RatingTags []*TagsOverview `protobuf:"bytes,1,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // contains filtered or unexported fields }
func (*ListAvailableDishTagsReply) Descriptor
deprecated
func (*ListAvailableDishTagsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableDishTagsReply.ProtoReflect.Descriptor instead.
func (*ListAvailableDishTagsReply) GetRatingTags ¶
func (x *ListAvailableDishTagsReply) GetRatingTags() []*TagsOverview
func (*ListAvailableDishTagsReply) ProtoMessage ¶
func (*ListAvailableDishTagsReply) ProtoMessage()
func (*ListAvailableDishTagsReply) ProtoReflect ¶
func (x *ListAvailableDishTagsReply) ProtoReflect() protoreflect.Message
func (*ListAvailableDishTagsReply) Reset ¶
func (x *ListAvailableDishTagsReply) Reset()
func (*ListAvailableDishTagsReply) String ¶
func (x *ListAvailableDishTagsReply) String() string
type ListAvailableDishTagsRequest ¶
type ListAvailableDishTagsRequest struct {
// contains filtered or unexported fields
}
func (*ListAvailableDishTagsRequest) Descriptor
deprecated
func (*ListAvailableDishTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableDishTagsRequest.ProtoReflect.Descriptor instead.
func (*ListAvailableDishTagsRequest) ProtoMessage ¶
func (*ListAvailableDishTagsRequest) ProtoMessage()
func (*ListAvailableDishTagsRequest) ProtoReflect ¶
func (x *ListAvailableDishTagsRequest) ProtoReflect() protoreflect.Message
func (*ListAvailableDishTagsRequest) Reset ¶
func (x *ListAvailableDishTagsRequest) Reset()
func (*ListAvailableDishTagsRequest) String ¶
func (x *ListAvailableDishTagsRequest) String() string
type ListCanteenRatingsReply ¶
type ListCanteenRatingsReply struct { Rating []*SingleRatingReply `protobuf:"bytes,1,rep,name=rating,proto3" json:"rating,omitempty"` Avg float64 `protobuf:"fixed64,2,opt,name=avg,proto3" json:"avg,omitempty"` Std float64 `protobuf:"fixed64,3,opt,name=std,proto3" json:"std,omitempty"` Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Max int32 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"` RatingTags []*RatingTagResult `protobuf:"bytes,6,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // contains filtered or unexported fields }
func (*ListCanteenRatingsReply) Descriptor
deprecated
func (*ListCanteenRatingsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListCanteenRatingsReply.ProtoReflect.Descriptor instead.
func (*ListCanteenRatingsReply) GetAvg ¶
func (x *ListCanteenRatingsReply) GetAvg() float64
func (*ListCanteenRatingsReply) GetMax ¶
func (x *ListCanteenRatingsReply) GetMax() int32
func (*ListCanteenRatingsReply) GetMin ¶
func (x *ListCanteenRatingsReply) GetMin() int32
func (*ListCanteenRatingsReply) GetRating ¶
func (x *ListCanteenRatingsReply) GetRating() []*SingleRatingReply
func (*ListCanteenRatingsReply) GetRatingTags ¶
func (x *ListCanteenRatingsReply) GetRatingTags() []*RatingTagResult
func (*ListCanteenRatingsReply) GetStd ¶
func (x *ListCanteenRatingsReply) GetStd() float64
func (*ListCanteenRatingsReply) ProtoMessage ¶
func (*ListCanteenRatingsReply) ProtoMessage()
func (*ListCanteenRatingsReply) ProtoReflect ¶
func (x *ListCanteenRatingsReply) ProtoReflect() protoreflect.Message
func (*ListCanteenRatingsReply) Reset ¶
func (x *ListCanteenRatingsReply) Reset()
func (*ListCanteenRatingsReply) String ¶
func (x *ListCanteenRatingsReply) String() string
type ListCanteenRatingsRequest ¶
type ListCanteenRatingsRequest struct { // canteenId Mandatory Name of the canteen (EAT-API naming scheme "MENSA_GARCHING") CanteenId string `protobuf:"bytes,1,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` // Optional Parameter to define an interval for the ratings (Lower bound) From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // Optional Parameter to define an interval for the ratings (Upper bound) To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // Optional Parameter defines how many ratings are queried. If all ratings should be queried, enter "-1" Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListCanteenRatingsRequest) Descriptor
deprecated
func (*ListCanteenRatingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCanteenRatingsRequest.ProtoReflect.Descriptor instead.
func (*ListCanteenRatingsRequest) GetCanteenId ¶
func (x *ListCanteenRatingsRequest) GetCanteenId() string
func (*ListCanteenRatingsRequest) GetFrom ¶
func (x *ListCanteenRatingsRequest) GetFrom() *timestamppb.Timestamp
func (*ListCanteenRatingsRequest) GetLimit ¶
func (x *ListCanteenRatingsRequest) GetLimit() int32
func (*ListCanteenRatingsRequest) GetTo ¶
func (x *ListCanteenRatingsRequest) GetTo() *timestamppb.Timestamp
func (*ListCanteenRatingsRequest) ProtoMessage ¶
func (*ListCanteenRatingsRequest) ProtoMessage()
func (*ListCanteenRatingsRequest) ProtoReflect ¶
func (x *ListCanteenRatingsRequest) ProtoReflect() protoreflect.Message
func (*ListCanteenRatingsRequest) Reset ¶
func (x *ListCanteenRatingsRequest) Reset()
func (*ListCanteenRatingsRequest) String ¶
func (x *ListCanteenRatingsRequest) String() string
type ListCanteensReply ¶
type ListCanteensReply struct { Canteen []*Canteen `protobuf:"bytes,1,rep,name=canteen,proto3" json:"canteen,omitempty"` // contains filtered or unexported fields }
func (*ListCanteensReply) Descriptor
deprecated
func (*ListCanteensReply) Descriptor() ([]byte, []int)
Deprecated: Use ListCanteensReply.ProtoReflect.Descriptor instead.
func (*ListCanteensReply) GetCanteen ¶
func (x *ListCanteensReply) GetCanteen() []*Canteen
func (*ListCanteensReply) ProtoMessage ¶
func (*ListCanteensReply) ProtoMessage()
func (*ListCanteensReply) ProtoReflect ¶
func (x *ListCanteensReply) ProtoReflect() protoreflect.Message
func (*ListCanteensReply) Reset ¶
func (x *ListCanteensReply) Reset()
func (*ListCanteensReply) String ¶
func (x *ListCanteensReply) String() string
type ListCanteensRequest ¶
type ListCanteensRequest struct {
// contains filtered or unexported fields
}
func (*ListCanteensRequest) Descriptor
deprecated
func (*ListCanteensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCanteensRequest.ProtoReflect.Descriptor instead.
func (*ListCanteensRequest) ProtoMessage ¶
func (*ListCanteensRequest) ProtoMessage()
func (*ListCanteensRequest) ProtoReflect ¶
func (x *ListCanteensRequest) ProtoReflect() protoreflect.Message
func (*ListCanteensRequest) Reset ¶
func (x *ListCanteensRequest) Reset()
func (*ListCanteensRequest) String ¶
func (x *ListCanteensRequest) String() string
type ListDishesReply ¶
type ListDishesReply struct { Dish []string `protobuf:"bytes,1,rep,name=dish,proto3" json:"dish,omitempty"` // contains filtered or unexported fields }
func (*ListDishesReply) Descriptor
deprecated
func (*ListDishesReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDishesReply.ProtoReflect.Descriptor instead.
func (*ListDishesReply) GetDish ¶
func (x *ListDishesReply) GetDish() []string
func (*ListDishesReply) ProtoMessage ¶
func (*ListDishesReply) ProtoMessage()
func (*ListDishesReply) ProtoReflect ¶
func (x *ListDishesReply) ProtoReflect() protoreflect.Message
func (*ListDishesReply) Reset ¶
func (x *ListDishesReply) Reset()
func (*ListDishesReply) String ¶
func (x *ListDishesReply) String() string
type ListDishesRequest ¶
type ListDishesRequest struct { CanteenId string `protobuf:"bytes,1,opt,name=canteen_id,json=canteenId,proto3" json:"canteen_id,omitempty"` // >=2022 until the current year Year int32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` // Must be in the range 1 - 52 Week int32 `protobuf:"varint,3,opt,name=week,proto3" json:"week,omitempty"` // Day of the week // Days must be in the range 0 (Monday) - 4 (Friday) Day int32 `protobuf:"varint,4,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
func (*ListDishesRequest) Descriptor
deprecated
func (*ListDishesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDishesRequest.ProtoReflect.Descriptor instead.
func (*ListDishesRequest) GetCanteenId ¶
func (x *ListDishesRequest) GetCanteenId() string
func (*ListDishesRequest) GetDay ¶
func (x *ListDishesRequest) GetDay() int32
func (*ListDishesRequest) GetWeek ¶
func (x *ListDishesRequest) GetWeek() int32
func (*ListDishesRequest) GetYear ¶
func (x *ListDishesRequest) GetYear() int32
func (*ListDishesRequest) ProtoMessage ¶
func (*ListDishesRequest) ProtoMessage()
func (*ListDishesRequest) ProtoReflect ¶
func (x *ListDishesRequest) ProtoReflect() protoreflect.Message
func (*ListDishesRequest) Reset ¶
func (x *ListDishesRequest) Reset()
func (*ListDishesRequest) String ¶
func (x *ListDishesRequest) String() string
type ListMoviesReply ¶
type ListMoviesReply struct { Movies []*Movie `protobuf:"bytes,1,rep,name=movies,proto3" json:"movies,omitempty"` // contains filtered or unexported fields }
func (*ListMoviesReply) Descriptor
deprecated
func (*ListMoviesReply) Descriptor() ([]byte, []int)
Deprecated: Use ListMoviesReply.ProtoReflect.Descriptor instead.
func (*ListMoviesReply) GetMovies ¶
func (x *ListMoviesReply) GetMovies() []*Movie
func (*ListMoviesReply) ProtoMessage ¶
func (*ListMoviesReply) ProtoMessage()
func (*ListMoviesReply) ProtoReflect ¶
func (x *ListMoviesReply) ProtoReflect() protoreflect.Message
func (*ListMoviesReply) Reset ¶
func (x *ListMoviesReply) Reset()
func (*ListMoviesReply) String ¶
func (x *ListMoviesReply) String() string
type ListMoviesRequest ¶
type ListMoviesRequest struct { // the last Id you have requested. Use -1 to get all movies LastId int32 `protobuf:"varint,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` // the oldest time you want to be included in the response OldestDateAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=oldest_date_at,json=oldestDateAt,proto3" json:"oldest_date_at,omitempty"` // contains filtered or unexported fields }
func (*ListMoviesRequest) Descriptor
deprecated
func (*ListMoviesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMoviesRequest.ProtoReflect.Descriptor instead.
func (*ListMoviesRequest) GetLastId ¶
func (x *ListMoviesRequest) GetLastId() int32
func (*ListMoviesRequest) GetOldestDateAt ¶
func (x *ListMoviesRequest) GetOldestDateAt() *timestamppb.Timestamp
func (*ListMoviesRequest) ProtoMessage ¶
func (*ListMoviesRequest) ProtoMessage()
func (*ListMoviesRequest) ProtoReflect ¶
func (x *ListMoviesRequest) ProtoReflect() protoreflect.Message
func (*ListMoviesRequest) Reset ¶
func (x *ListMoviesRequest) Reset()
func (*ListMoviesRequest) String ¶
func (x *ListMoviesRequest) String() string
type ListNameTagsReply ¶
type ListNameTagsReply struct { RatingTags []*TagsOverview `protobuf:"bytes,1,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` // contains filtered or unexported fields }
func (*ListNameTagsReply) Descriptor
deprecated
func (*ListNameTagsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNameTagsReply.ProtoReflect.Descriptor instead.
func (*ListNameTagsReply) GetRatingTags ¶
func (x *ListNameTagsReply) GetRatingTags() []*TagsOverview
func (*ListNameTagsReply) ProtoMessage ¶
func (*ListNameTagsReply) ProtoMessage()
func (*ListNameTagsReply) ProtoReflect ¶
func (x *ListNameTagsReply) ProtoReflect() protoreflect.Message
func (*ListNameTagsReply) Reset ¶
func (x *ListNameTagsReply) Reset()
func (*ListNameTagsReply) String ¶
func (x *ListNameTagsReply) String() string
type ListNameTagsRequest ¶
type ListNameTagsRequest struct {
// contains filtered or unexported fields
}
func (*ListNameTagsRequest) Descriptor
deprecated
func (*ListNameTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNameTagsRequest.ProtoReflect.Descriptor instead.
func (*ListNameTagsRequest) ProtoMessage ¶
func (*ListNameTagsRequest) ProtoMessage()
func (*ListNameTagsRequest) ProtoReflect ¶
func (x *ListNameTagsRequest) ProtoReflect() protoreflect.Message
func (*ListNameTagsRequest) Reset ¶
func (x *ListNameTagsRequest) Reset()
func (*ListNameTagsRequest) String ¶
func (x *ListNameTagsRequest) String() string
type ListNewsAlertsReply ¶
type ListNewsAlertsReply struct { Alerts []*NewsAlert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` // contains filtered or unexported fields }
func (*ListNewsAlertsReply) Descriptor
deprecated
func (*ListNewsAlertsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsAlertsReply.ProtoReflect.Descriptor instead.
func (*ListNewsAlertsReply) GetAlerts ¶
func (x *ListNewsAlertsReply) GetAlerts() []*NewsAlert
func (*ListNewsAlertsReply) ProtoMessage ¶
func (*ListNewsAlertsReply) ProtoMessage()
func (*ListNewsAlertsReply) ProtoReflect ¶
func (x *ListNewsAlertsReply) ProtoReflect() protoreflect.Message
func (*ListNewsAlertsReply) Reset ¶
func (x *ListNewsAlertsReply) Reset()
func (*ListNewsAlertsReply) String ¶
func (x *ListNewsAlertsReply) String() string
type ListNewsAlertsRequest ¶
type ListNewsAlertsRequest struct { // the last id of the news item received. 0 to get all news items LastNewsAlertId int32 `protobuf:"varint,1,opt,name=last_news_alert_id,json=lastNewsAlertId,proto3" json:"last_news_alert_id,omitempty"` // contains filtered or unexported fields }
func (*ListNewsAlertsRequest) Descriptor
deprecated
func (*ListNewsAlertsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsAlertsRequest.ProtoReflect.Descriptor instead.
func (*ListNewsAlertsRequest) GetLastNewsAlertId ¶
func (x *ListNewsAlertsRequest) GetLastNewsAlertId() int32
func (*ListNewsAlertsRequest) ProtoMessage ¶
func (*ListNewsAlertsRequest) ProtoMessage()
func (*ListNewsAlertsRequest) ProtoReflect ¶
func (x *ListNewsAlertsRequest) ProtoReflect() protoreflect.Message
func (*ListNewsAlertsRequest) Reset ¶
func (x *ListNewsAlertsRequest) Reset()
func (*ListNewsAlertsRequest) String ¶
func (x *ListNewsAlertsRequest) String() string
type ListNewsReply ¶
type ListNewsReply struct { News []*News `protobuf:"bytes,1,rep,name=news,proto3" json:"news,omitempty"` // contains filtered or unexported fields }
func (*ListNewsReply) Descriptor
deprecated
func (*ListNewsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsReply.ProtoReflect.Descriptor instead.
func (*ListNewsReply) GetNews ¶
func (x *ListNewsReply) GetNews() []*News
func (*ListNewsReply) ProtoMessage ¶
func (*ListNewsReply) ProtoMessage()
func (*ListNewsReply) ProtoReflect ¶
func (x *ListNewsReply) ProtoReflect() protoreflect.Message
func (*ListNewsReply) Reset ¶
func (x *ListNewsReply) Reset()
func (*ListNewsReply) String ¶
func (x *ListNewsReply) String() string
type ListNewsRequest ¶
type ListNewsRequest struct { // the last id of the news item received. 0 to get all news items LastNewsId int32 `protobuf:"varint,1,opt,name=last_news_id,json=lastNewsId,proto3" json:"last_news_id,omitempty"` // filter by news source id. 0 to get all news items NewsSource int32 `protobuf:"varint,2,opt,name=news_source,json=newsSource,proto3" json:"news_source,omitempty"` // the oldest time you want to be included in the response OldestDateAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=oldest_date_at,json=oldestDateAt,proto3" json:"oldest_date_at,omitempty"` // contains filtered or unexported fields }
func (*ListNewsRequest) Descriptor
deprecated
func (*ListNewsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsRequest.ProtoReflect.Descriptor instead.
func (*ListNewsRequest) GetLastNewsId ¶
func (x *ListNewsRequest) GetLastNewsId() int32
func (*ListNewsRequest) GetNewsSource ¶
func (x *ListNewsRequest) GetNewsSource() int32
func (*ListNewsRequest) GetOldestDateAt ¶
func (x *ListNewsRequest) GetOldestDateAt() *timestamppb.Timestamp
func (*ListNewsRequest) ProtoMessage ¶
func (*ListNewsRequest) ProtoMessage()
func (*ListNewsRequest) ProtoReflect ¶
func (x *ListNewsRequest) ProtoReflect() protoreflect.Message
func (*ListNewsRequest) Reset ¶
func (x *ListNewsRequest) Reset()
func (*ListNewsRequest) String ¶
func (x *ListNewsRequest) String() string
type ListNewsSourcesReply ¶
type ListNewsSourcesReply struct { Sources []*NewsSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"` // contains filtered or unexported fields }
func (*ListNewsSourcesReply) Descriptor
deprecated
func (*ListNewsSourcesReply) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsSourcesReply.ProtoReflect.Descriptor instead.
func (*ListNewsSourcesReply) GetSources ¶
func (x *ListNewsSourcesReply) GetSources() []*NewsSource
func (*ListNewsSourcesReply) ProtoMessage ¶
func (*ListNewsSourcesReply) ProtoMessage()
func (*ListNewsSourcesReply) ProtoReflect ¶
func (x *ListNewsSourcesReply) ProtoReflect() protoreflect.Message
func (*ListNewsSourcesReply) Reset ¶
func (x *ListNewsSourcesReply) Reset()
func (*ListNewsSourcesReply) String ¶
func (x *ListNewsSourcesReply) String() string
type ListNewsSourcesRequest ¶
type ListNewsSourcesRequest struct {
// contains filtered or unexported fields
}
func (*ListNewsSourcesRequest) Descriptor
deprecated
func (*ListNewsSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNewsSourcesRequest.ProtoReflect.Descriptor instead.
func (*ListNewsSourcesRequest) ProtoMessage ¶
func (*ListNewsSourcesRequest) ProtoMessage()
func (*ListNewsSourcesRequest) ProtoReflect ¶
func (x *ListNewsSourcesRequest) ProtoReflect() protoreflect.Message
func (*ListNewsSourcesRequest) Reset ¶
func (x *ListNewsSourcesRequest) Reset()
func (*ListNewsSourcesRequest) String ¶
func (x *ListNewsSourcesRequest) String() string
type Movie ¶
type Movie struct { // the id of the movie MovieId int64 `protobuf:"varint,3,opt,name=movie_id,json=movieId,proto3" json:"movie_id,omitempty"` // the date of the movie Date *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` // when the movie was created in OUR database Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` // title of the movie if available, empty otherwise Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // Where the movie is shown Location string `protobuf:"bytes,18,opt,name=location,proto3" json:"location,omitempty"` // release year of the movie if available, empty otherwise ReleaseYear string `protobuf:"bytes,7,opt,name=release_year,json=releaseYear,proto3" json:"release_year,omitempty"` // runtime of the movie if available, empty otherwise Runtime string `protobuf:"bytes,8,opt,name=runtime,proto3" json:"runtime,omitempty"` // genre of the movie if available, empty otherwise Genre string `protobuf:"bytes,9,opt,name=genre,proto3" json:"genre,omitempty"` // director of the movie as by omdb(/tu-film), empty otherwise Director string `protobuf:"bytes,10,opt,name=director,proto3" json:"director,omitempty"` // actors of the movie as by omdb(/tu-film), empty otherwise Actors string `protobuf:"bytes,11,opt,name=actors,proto3" json:"actors,omitempty"` // imdb rating for the movie if available, empty otherwise ImdbRating string `protobuf:"bytes,12,opt,name=imdb_rating,json=imdbRating,proto3" json:"imdb_rating,omitempty"` // short description of the movie including limited html tags (only <b>, <i>) Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"` // Where to find a trailer for this movie TrailerUrl string `protobuf:"bytes,15,opt,name=trailer_url,json=trailerUrl,proto3" json:"trailer_url,omitempty"` // Where to find additional information about this movie AdditionalInformationUrl string `` /* 136-byte string literal not displayed */ // the id of the cover image CoverId int64 `protobuf:"varint,14,opt,name=cover_id,json=coverId,proto3" json:"cover_id,omitempty"` // Where to find a cover image for this movie CoverUrl string `protobuf:"bytes,17,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // contains filtered or unexported fields }
func (*Movie) Descriptor
deprecated
func (*Movie) GetAdditionalInformationUrl ¶
func (*Movie) GetCoverId ¶
func (*Movie) GetCoverUrl ¶
func (*Movie) GetCreated ¶
func (x *Movie) GetCreated() *timestamppb.Timestamp
func (*Movie) GetDate ¶
func (x *Movie) GetDate() *timestamppb.Timestamp
func (*Movie) GetDescription ¶
func (*Movie) GetDirector ¶
func (*Movie) GetImdbRating ¶
func (*Movie) GetLocation ¶
func (*Movie) GetMovieId ¶
func (*Movie) GetReleaseYear ¶
func (*Movie) GetRuntime ¶
func (*Movie) GetTrailerUrl ¶
func (*Movie) ProtoMessage ¶
func (*Movie) ProtoMessage()
func (*Movie) ProtoReflect ¶
func (x *Movie) ProtoReflect() protoreflect.Message
type News ¶
type News struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` // where a news thumbnail is stored. empty string means no image is available ImageUrl string `protobuf:"bytes,5,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // the id of the news source SourceId string `protobuf:"bytes,6,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` // where the icon can be found SourceIconUrl string `protobuf:"bytes,9,opt,name=source_icon_url,json=sourceIconUrl,proto3" json:"source_icon_url,omitempty"` // human readable title of the news source SourceTitle string `protobuf:"bytes,10,opt,name=source_title,json=sourceTitle,proto3" json:"source_title,omitempty"` // when the news item was created in OUR database Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"` // the date of the news item Date *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*News) Descriptor
deprecated
func (*News) GetCreated ¶
func (x *News) GetCreated() *timestamppb.Timestamp
func (*News) GetDate ¶
func (x *News) GetDate() *timestamppb.Timestamp
func (*News) GetImageUrl ¶
func (*News) GetSourceIconUrl ¶
func (*News) GetSourceId ¶
func (*News) GetSourceTitle ¶
func (*News) ProtoMessage ¶
func (*News) ProtoMessage()
func (*News) ProtoReflect ¶
func (x *News) ProtoReflect() protoreflect.Message
type NewsAlert ¶
type NewsAlert struct { ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` From *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` To *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*NewsAlert) Descriptor
deprecated
func (*NewsAlert) GetCreated ¶
func (x *NewsAlert) GetCreated() *timestamppb.Timestamp
func (*NewsAlert) GetFrom ¶
func (x *NewsAlert) GetFrom() *timestamppb.Timestamp
func (*NewsAlert) GetImageUrl ¶
func (*NewsAlert) GetTo ¶
func (x *NewsAlert) GetTo() *timestamppb.Timestamp
func (*NewsAlert) ProtoMessage ¶
func (*NewsAlert) ProtoMessage()
func (*NewsAlert) ProtoReflect ¶
func (x *NewsAlert) ProtoReflect() protoreflect.Message
type NewsSource ¶
type NewsSource struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // where the icon can be found IconUrl string `protobuf:"bytes,3,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` // contains filtered or unexported fields }
func (*NewsSource) Descriptor
deprecated
func (*NewsSource) Descriptor() ([]byte, []int)
Deprecated: Use NewsSource.ProtoReflect.Descriptor instead.
func (*NewsSource) GetIconUrl ¶
func (x *NewsSource) GetIconUrl() string
func (*NewsSource) GetSource ¶
func (x *NewsSource) GetSource() string
func (*NewsSource) GetTitle ¶
func (x *NewsSource) GetTitle() string
func (*NewsSource) ProtoMessage ¶
func (*NewsSource) ProtoMessage()
func (*NewsSource) ProtoReflect ¶
func (x *NewsSource) ProtoReflect() protoreflect.Message
func (*NewsSource) Reset ¶
func (x *NewsSource) Reset()
func (*NewsSource) String ¶
func (x *NewsSource) String() string
type RatingTag ¶
type RatingTag struct { TagId int64 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` Points float64 `protobuf:"fixed64,2,opt,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*RatingTag) Descriptor
deprecated
func (*RatingTag) ProtoMessage ¶
func (*RatingTag) ProtoMessage()
func (*RatingTag) ProtoReflect ¶
func (x *RatingTag) ProtoReflect() protoreflect.Message
type RatingTagNewRequest ¶
type RatingTagNewRequest struct { TagId int32 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` Points int32 `protobuf:"varint,2,opt,name=points,proto3" json:"points,omitempty"` // contains filtered or unexported fields }
func (*RatingTagNewRequest) Descriptor
deprecated
func (*RatingTagNewRequest) Descriptor() ([]byte, []int)
Deprecated: Use RatingTagNewRequest.ProtoReflect.Descriptor instead.
func (*RatingTagNewRequest) GetPoints ¶
func (x *RatingTagNewRequest) GetPoints() int32
func (*RatingTagNewRequest) GetTagId ¶
func (x *RatingTagNewRequest) GetTagId() int32
func (*RatingTagNewRequest) ProtoMessage ¶
func (*RatingTagNewRequest) ProtoMessage()
func (*RatingTagNewRequest) ProtoReflect ¶
func (x *RatingTagNewRequest) ProtoReflect() protoreflect.Message
func (*RatingTagNewRequest) Reset ¶
func (x *RatingTagNewRequest) Reset()
func (*RatingTagNewRequest) String ¶
func (x *RatingTagNewRequest) String() string
type RatingTagResult ¶
type RatingTagResult struct { TagId int32 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` Avg float64 `protobuf:"fixed64,2,opt,name=avg,proto3" json:"avg,omitempty"` Std float64 `protobuf:"fixed64,3,opt,name=std,proto3" json:"std,omitempty"` Min int32 `protobuf:"varint,4,opt,name=min,proto3" json:"min,omitempty"` Max int32 `protobuf:"varint,5,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*RatingTagResult) Descriptor
deprecated
func (*RatingTagResult) Descriptor() ([]byte, []int)
Deprecated: Use RatingTagResult.ProtoReflect.Descriptor instead.
func (*RatingTagResult) GetAvg ¶
func (x *RatingTagResult) GetAvg() float64
func (*RatingTagResult) GetMax ¶
func (x *RatingTagResult) GetMax() int32
func (*RatingTagResult) GetMin ¶
func (x *RatingTagResult) GetMin() int32
func (*RatingTagResult) GetStd ¶
func (x *RatingTagResult) GetStd() float64
func (*RatingTagResult) GetTagId ¶
func (x *RatingTagResult) GetTagId() int32
func (*RatingTagResult) ProtoMessage ¶
func (*RatingTagResult) ProtoMessage()
func (*RatingTagResult) ProtoReflect ¶
func (x *RatingTagResult) ProtoReflect() protoreflect.Message
func (*RatingTagResult) Reset ¶
func (x *RatingTagResult) Reset()
func (*RatingTagResult) String ¶
func (x *RatingTagResult) String() string
type RoomInformationElement ¶
type RoomInformationElement struct { RoomId int32 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` RoomCode string `protobuf:"bytes,2,opt,name=room_code,json=roomCode,proto3" json:"room_code,omitempty"` BuildingNr string `protobuf:"bytes,3,opt,name=building_nr,json=buildingNr,proto3" json:"building_nr,omitempty"` ArchId string `protobuf:"bytes,4,opt,name=arch_id,json=archId,proto3" json:"arch_id,omitempty"` Info string `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` Purpose string `protobuf:"bytes,7,opt,name=purpose,proto3" json:"purpose,omitempty"` Campus string `protobuf:"bytes,8,opt,name=campus,proto3" json:"campus,omitempty"` Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoomInformationElement) Descriptor
deprecated
func (*RoomInformationElement) Descriptor() ([]byte, []int)
Deprecated: Use RoomInformationElement.ProtoReflect.Descriptor instead.
func (*RoomInformationElement) GetAddress ¶
func (x *RoomInformationElement) GetAddress() string
func (*RoomInformationElement) GetArchId ¶
func (x *RoomInformationElement) GetArchId() string
func (*RoomInformationElement) GetBuildingNr ¶
func (x *RoomInformationElement) GetBuildingNr() string
func (*RoomInformationElement) GetCampus ¶
func (x *RoomInformationElement) GetCampus() string
func (*RoomInformationElement) GetInfo ¶
func (x *RoomInformationElement) GetInfo() string
func (*RoomInformationElement) GetName ¶
func (x *RoomInformationElement) GetName() string
func (*RoomInformationElement) GetPurpose ¶
func (x *RoomInformationElement) GetPurpose() string
func (*RoomInformationElement) GetRoomCode ¶
func (x *RoomInformationElement) GetRoomCode() string
func (*RoomInformationElement) GetRoomId ¶
func (x *RoomInformationElement) GetRoomId() int32
func (*RoomInformationElement) ProtoMessage ¶
func (*RoomInformationElement) ProtoMessage()
func (*RoomInformationElement) ProtoReflect ¶
func (x *RoomInformationElement) ProtoReflect() protoreflect.Message
func (*RoomInformationElement) Reset ¶
func (x *RoomInformationElement) Reset()
func (*RoomInformationElement) String ¶
func (x *RoomInformationElement) String() string
type SingleRatingReply ¶
type SingleRatingReply struct { // number in the range 1-5 Points int32 `protobuf:"varint,1,opt,name=points,proto3" json:"points,omitempty"` // Optional JPEG image in Base64 Image []byte `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // Optional comment (max 256 chars) Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` RatingTags []*RatingTagNewRequest `protobuf:"bytes,4,rep,name=rating_tags,json=ratingTags,proto3" json:"rating_tags,omitempty"` Visited *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=visited,proto3" json:"visited,omitempty"` // contains filtered or unexported fields }
func (*SingleRatingReply) Descriptor
deprecated
func (*SingleRatingReply) Descriptor() ([]byte, []int)
Deprecated: Use SingleRatingReply.ProtoReflect.Descriptor instead.
func (*SingleRatingReply) GetComment ¶
func (x *SingleRatingReply) GetComment() string
func (*SingleRatingReply) GetImage ¶
func (x *SingleRatingReply) GetImage() []byte
func (*SingleRatingReply) GetPoints ¶
func (x *SingleRatingReply) GetPoints() int32
func (*SingleRatingReply) GetRatingTags ¶
func (x *SingleRatingReply) GetRatingTags() []*RatingTagNewRequest
func (*SingleRatingReply) GetVisited ¶
func (x *SingleRatingReply) GetVisited() *timestamppb.Timestamp
func (*SingleRatingReply) ProtoMessage ¶
func (*SingleRatingReply) ProtoMessage()
func (*SingleRatingReply) ProtoReflect ¶
func (x *SingleRatingReply) ProtoReflect() protoreflect.Message
func (*SingleRatingReply) Reset ¶
func (x *SingleRatingReply) Reset()
func (*SingleRatingReply) String ¶
func (x *SingleRatingReply) String() string
type TagsOverview ¶
type TagsOverview struct { TagId int32 `protobuf:"varint,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` De string `protobuf:"bytes,2,opt,name=de,proto3" json:"de,omitempty"` En string `protobuf:"bytes,3,opt,name=en,proto3" json:"en,omitempty"` // contains filtered or unexported fields }
func (*TagsOverview) Descriptor
deprecated
func (*TagsOverview) Descriptor() ([]byte, []int)
Deprecated: Use TagsOverview.ProtoReflect.Descriptor instead.
func (*TagsOverview) GetDe ¶
func (x *TagsOverview) GetDe() string
func (*TagsOverview) GetEn ¶
func (x *TagsOverview) GetEn() string
func (*TagsOverview) GetTagId ¶
func (x *TagsOverview) GetTagId() int32
func (*TagsOverview) ProtoMessage ¶
func (*TagsOverview) ProtoMessage()
func (*TagsOverview) ProtoReflect ¶
func (x *TagsOverview) ProtoReflect() protoreflect.Message
func (*TagsOverview) Reset ¶
func (x *TagsOverview) Reset()
func (*TagsOverview) String ¶
func (x *TagsOverview) String() string
type UnimplementedCampusServer ¶
type UnimplementedCampusServer struct { }
UnimplementedCampusServer must be embedded to have forward compatible implementations.
func (UnimplementedCampusServer) CreateCanteenRating ¶
func (UnimplementedCampusServer) CreateCanteenRating(context.Context, *CreateCanteenRatingRequest) (*CreateCanteenRatingReply, error)
func (UnimplementedCampusServer) CreateDevice ¶
func (UnimplementedCampusServer) CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceReply, error)
func (UnimplementedCampusServer) CreateDishRating ¶
func (UnimplementedCampusServer) CreateDishRating(context.Context, *CreateDishRatingRequest) (*CreateDishRatingReply, error)
func (UnimplementedCampusServer) CreateFeedback ¶
func (UnimplementedCampusServer) CreateFeedback(Campus_CreateFeedbackServer) error
func (UnimplementedCampusServer) DeleteDevice ¶
func (UnimplementedCampusServer) DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceReply, error)
func (UnimplementedCampusServer) GetCanteenHeadCount ¶
func (UnimplementedCampusServer) GetCanteenHeadCount(context.Context, *GetCanteenHeadCountRequest) (*GetCanteenHeadCountReply, error)
func (UnimplementedCampusServer) GetDishRatings ¶
func (UnimplementedCampusServer) GetDishRatings(context.Context, *GetDishRatingsRequest) (*GetDishRatingsReply, error)
func (UnimplementedCampusServer) GetMember ¶
func (UnimplementedCampusServer) GetMember(context.Context, *GetMemberRequest) (*GetMemberReply, error)
func (UnimplementedCampusServer) GetNotification ¶
func (UnimplementedCampusServer) GetNotification(context.Context, *GetNotificationRequest) (*GetNotificationReply, error)
func (UnimplementedCampusServer) GetNotificationConfirm ¶
func (UnimplementedCampusServer) GetNotificationConfirm(context.Context, *GetNotificationConfirmRequest) (*GetNotificationConfirmReply, error)
func (UnimplementedCampusServer) GetUpdateNote ¶
func (UnimplementedCampusServer) GetUpdateNote(context.Context, *GetUpdateNoteRequest) (*GetUpdateNoteReply, error)
func (UnimplementedCampusServer) GetUploadStatus ¶
func (UnimplementedCampusServer) GetUploadStatus(context.Context, *GetUploadStatusRequest) (*GetUploadStatusReply, error)
func (UnimplementedCampusServer) ListAvailableCanteenTags ¶
func (UnimplementedCampusServer) ListAvailableCanteenTags(context.Context, *ListAvailableCanteenTagsRequest) (*ListAvailableCanteenTagsReply, error)
func (UnimplementedCampusServer) ListAvailableDishTags ¶
func (UnimplementedCampusServer) ListAvailableDishTags(context.Context, *ListAvailableDishTagsRequest) (*ListAvailableDishTagsReply, error)
func (UnimplementedCampusServer) ListCanteenRatings ¶
func (UnimplementedCampusServer) ListCanteenRatings(context.Context, *ListCanteenRatingsRequest) (*ListCanteenRatingsReply, error)
func (UnimplementedCampusServer) ListCanteens ¶
func (UnimplementedCampusServer) ListCanteens(context.Context, *ListCanteensRequest) (*ListCanteensReply, error)
func (UnimplementedCampusServer) ListDishes ¶
func (UnimplementedCampusServer) ListDishes(context.Context, *ListDishesRequest) (*ListDishesReply, error)
func (UnimplementedCampusServer) ListMovies ¶
func (UnimplementedCampusServer) ListMovies(context.Context, *ListMoviesRequest) (*ListMoviesReply, error)
func (UnimplementedCampusServer) ListNameTags ¶
func (UnimplementedCampusServer) ListNameTags(context.Context, *ListNameTagsRequest) (*ListNameTagsReply, error)
func (UnimplementedCampusServer) ListNews ¶
func (UnimplementedCampusServer) ListNews(context.Context, *ListNewsRequest) (*ListNewsReply, error)
func (UnimplementedCampusServer) ListNewsAlerts ¶
func (UnimplementedCampusServer) ListNewsAlerts(context.Context, *ListNewsAlertsRequest) (*ListNewsAlertsReply, error)
func (UnimplementedCampusServer) ListNewsSources ¶
func (UnimplementedCampusServer) ListNewsSources(context.Context, *ListNewsSourcesRequest) (*ListNewsSourcesReply, error)
type UnsafeCampusServer ¶
type UnsafeCampusServer interface {
// contains filtered or unexported methods
}
UnsafeCampusServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CampusServer will result in compilation errors.