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
d50b58c3
Commit
d50b58c3
authored
8 years ago
by
Yuchen Zeng
Browse files
Options
Downloads
Patches
Plain Diff
Add comments for messages
parent
c553034b
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/proto/grpc/reflection/v1alpha/reflection.proto
+26
-0
26 additions, 0 deletions
src/proto/grpc/reflection/v1alpha/reflection.proto
with
26 additions
and
0 deletions
src/proto/grpc/reflection/v1alpha/reflection.proto
+
26
−
0
View file @
d50b58c3
...
@@ -55,38 +55,64 @@ service ServerReflection {
...
@@ -55,38 +55,64 @@ service ServerReflection {
// Finds the tag numbers used by all known extensions of extendee_type, and
// Finds the tag numbers used by all known extensions of extendee_type, and
// appends them to ExtensionNumberResponse in an undefined order.
// appends them to ExtensionNumberResponse in an undefined order.
// This method is best-effort: it's not guaranteed that the reflection service
// will implement this method, and it's not guaranteed that this method will
// provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not
// implemented.
rpc
GetAllExtensionNumbers
(
TypeRequest
)
returns
(
ExtensionNumberResponse
)
{
rpc
GetAllExtensionNumbers
(
TypeRequest
)
returns
(
ExtensionNumberResponse
)
{
}
}
}
}
// An empty message sent by the client when calling ListService method.
message
EmptyRequest
{
message
EmptyRequest
{
}
}
// The filename sent by the client when calling GetFileByName method.
message
FileNameRequest
{
message
FileNameRequest
{
// Name of the proto file.
string
filename
=
1
;
string
filename
=
1
;
}
}
// The symbol name sent by the client when calling GetFileContainingSymbol
// method.
message
SymbolRequest
{
message
SymbolRequest
{
// Fully-qualified symbol name (e.g. <package>.<service>[.<method>] or
// <package>.<type>).
string
symbol
=
1
;
string
symbol
=
1
;
}
}
// The type name and extension number sent by the client when calling
// GetFileContainingExtension method.
message
ExtensionRequest
{
message
ExtensionRequest
{
// Fully-qualified type name. The format should be <package>.<type>
string
containing_type
=
1
;
string
containing_type
=
1
;
int32
extension_number
=
2
;
int32
extension_number
=
2
;
}
}
// The type name sent by the client when calling GetAllExtensionNumbers method.
message
TypeRequest
{
message
TypeRequest
{
// Fully-qualified type name. The format should be <package>.<type>
string
type
=
1
;
string
type
=
1
;
}
}
// A list of service names sent by the server answering ListService method.
message
ListServiceResponse
{
message
ListServiceResponse
{
// Full names of registered services, including package names. The format
// is <package>.<service>
repeated
string
services
=
1
;
repeated
string
services
=
1
;
}
}
// A serialized FileDescriptorProto sent by the server answering
// GetFileByName, GetFileContainingSymbol, GetFileContainingExtension methods.
message
FileDescriptorProtoResponse
{
message
FileDescriptorProtoResponse
{
// Serialized FileDescriptorProto message. Some languages have limited support
// for working with descriptors. The can only obtain an opaque binary blob
// that contains serialized FileDescriptorProto message.
bytes
file_descriptor_proto
=
1
;
bytes
file_descriptor_proto
=
1
;
}
}
// A list of extension numbers sent by the server answering
// GetAllExtensionNumbers method.
message
ExtensionNumberResponse
{
message
ExtensionNumberResponse
{
repeated
int32
extension_number
=
1
;
repeated
int32
extension_number
=
1
;
}
}
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