Protocol Buffers - Google's data interchange format (grpc依赖) https://developers.google.com/protocol-buffers/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
836 B

// This is a detached leading comment
//
// With a forced unwrapped line.
// File detached leading comment
// Syntax leading comment
syntax = "proto2"; // Syntax trailing comment
// Package leading comment
package protobuf_editions_test.proto2; // Package trailing comment
// Leading message comment
message Foo { // Message trailing comment
// Message inner comment
// Field leading comment
optional int32 field1 = 1; // Field trailing comment
optional /* card */ int32 /* type */ field2 /* name */ = 2 /* tag */;
// Message inner trailing comment
} // Message trailing comment
// Leading message comment
enum Bar { // Enum trailing comment
// Enum inner comment
// Enum value leading comment
BAR_UNKNOWN = 0; // Enum value trailing comment
// Enum inner trailing comment
} // Enum trailing comment