This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
syntax = "proto3"; | ||
|
||
package hpi.cloud.feedback.v1test; | ||
|
||
option java_multiple_files = true; | ||
option java_outer_classname = "FeedbackBitProto"; | ||
option java_package = "de.hpi.cloud.feedback.v1test"; | ||
|
||
// A single feedback message, generated by a user. | ||
message Feedback { | ||
// Required, output only. The unique ID of this feedback. | ||
string id = 1; | ||
|
||
// Required. The message. | ||
string message = 2; | ||
|
||
// The URI pointing to the screen currently opened by the user. | ||
string screenUri = 3; | ||
|
||
// Email address of the user sending the screenshot. | ||
string user = 4; | ||
|
||
// An optional screenshot, encoded as PNG. | ||
bytes screenshot = 5; | ||
|
||
// Optional log messages which might help to find a bug. | ||
string log = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
syntax = "proto3"; | ||
|
||
package hpi.cloud.feedback.v1test; | ||
|
||
import "hpi/cloud/feedback/v1test/feedback.proto"; | ||
|
||
option java_multiple_files = true; | ||
option java_outer_classname = "FeedbackServiceProto"; | ||
option java_package = "de.hpi.cloud.feedback.v1test"; | ||
|
||
// Provides access to feedback generated by users. | ||
service FeedbackService { | ||
// Create feedback. | ||
rpc CreateFeedback(CreateFeedbackRequest) returns (Feedback); | ||
} | ||
|
||
// Request message for creating feedback using [ListInfoBits][hpi.cloud.feedback.v1test.FeedbackService.ListInfoBits]. | ||
message CreateFeedbackRequest { | ||
// Required. The feedback to store. | ||
Feedback feedback = 1; | ||
} |