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
7d2adf0e
Commit
7d2adf0e
authored
10 years ago
by
murgatroid99
Browse files
Options
Downloads
Patches
Plain Diff
Updated interop proto for compatibility with proto3 servers
parent
a29a1223
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
src/node/interop/messages.proto
+3
-3
3 additions, 3 deletions
src/node/interop/messages.proto
with
3 additions
and
3 deletions
src/node/interop/messages.proto
+
3
−
3
View file @
7d2adf0e
...
...
@@ -49,7 +49,7 @@ enum PayloadType {
// A block of data, to simply increase gRPC message size.
message
Payload
{
// The type of data in body.
optional
PayloadType
type
=
1
;
optional
PayloadType
type
=
1
[
default
=
COMPRESSABLE
]
;
// Primary contents of payload.
optional
bytes
body
=
2
;
}
...
...
@@ -58,7 +58,7 @@ message Payload {
message
SimpleRequest
{
// Desired payload type in the response from the server.
// If response_type is RANDOM, server randomly chooses one from other formats.
optional
PayloadType
response_type
=
1
;
optional
PayloadType
response_type
=
1
[
default
=
COMPRESSABLE
]
;
// Desired payload size in the response from the server.
// If response_type is COMPRESSABLE, this denotes the size before compression.
...
...
@@ -116,7 +116,7 @@ message StreamingOutputCallRequest {
// If response_type is RANDOM, the payload from each response in the stream
// might be of different types. This is to simulate a mixed type of payload
// stream.
optional
PayloadType
response_type
=
1
;
optional
PayloadType
response_type
=
1
[
default
=
COMPRESSABLE
]
;
// Configuration for each expected response message.
repeated
ResponseParameters
response_parameters
=
2
;
...
...
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