Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
eb6b2160
Commit
eb6b2160
authored
9 years ago
by
Abhishek Kumar
Browse files
Options
Downloads
Patches
Plain Diff
Rename Status -> EchoStatus to avoid conflict
parent
747cdbf9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/proto/messages.proto
+3
-3
3 additions, 3 deletions
test/proto/messages.proto
with
3 additions
and
3 deletions
test/proto/messages.proto
+
3
−
3
View file @
eb6b2160
...
@@ -64,7 +64,7 @@ message Payload {
...
@@ -64,7 +64,7 @@ message Payload {
// A protobuf representation for grpc status. This is used by test
// A protobuf representation for grpc status. This is used by test
// clients to specify a status that the server should attempt to return.
// clients to specify a status that the server should attempt to return.
message
Status
{
message
Echo
Status
{
optional
int32
code
=
1
;
optional
int32
code
=
1
;
optional
string
message
=
2
;
optional
string
message
=
2
;
}
}
...
@@ -92,7 +92,7 @@ message SimpleRequest {
...
@@ -92,7 +92,7 @@ message SimpleRequest {
optional
CompressionType
response_compression
=
6
;
optional
CompressionType
response_compression
=
6
;
// Whether server should return a given status
// Whether server should return a given status
optional
Status
response_status
=
7
;
optional
Echo
Status
response_status
=
7
;
}
}
// Unary response, as configured by the request.
// Unary response, as configured by the request.
...
@@ -149,7 +149,7 @@ message StreamingOutputCallRequest {
...
@@ -149,7 +149,7 @@ message StreamingOutputCallRequest {
optional
CompressionType
response_compression
=
6
;
optional
CompressionType
response_compression
=
6
;
// Whether server should return a given status
// Whether server should return a given status
optional
Status
response_status
=
7
;
optional
Echo
Status
response_status
=
7
;
}
}
// Server-streaming response, as configured by the request and parameters.
// Server-streaming response, as configured by the request and parameters.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment