mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Migration of remaining protobufs from proto2 to proto3
PiperOrigin-RevId: 434973223 Change-Id: I5518aa3944cab94d33ce0538bed8ee82f90d4b3a
This commit is contained in:
parent
6d5f257711
commit
ee11d9fdb7
|
@ -12,12 +12,12 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
syntax = "proto2";
|
syntax = "proto3";
|
||||||
|
|
||||||
package sumsapi;
|
package sumsapi;
|
||||||
|
|
||||||
message SumParamsProto {
|
message SumParamsProto {
|
||||||
optional int32 a = 1 [default = 0];
|
optional int32 a = 1;
|
||||||
optional int32 b = 2 [default = 0];
|
optional int32 b = 2;
|
||||||
optional int32 c = 3 [default = 0];
|
optional int32 c = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
syntax = "proto2";
|
syntax = "proto3";
|
||||||
|
|
||||||
package sapi;
|
package sapi;
|
||||||
|
|
||||||
message ProtoArg {
|
message ProtoArg {
|
||||||
// Fully qualified name of the protobuf that is being passed.
|
// Fully qualified name of the protobuf that is being passed.
|
||||||
required string full_name = 1;
|
optional string full_name = 1;
|
||||||
// The serialized protobuf data.
|
// The serialized protobuf data.
|
||||||
required bytes protobuf_data = 2;
|
optional bytes protobuf_data = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
// A proto for comms_test
|
// A proto for comms_test
|
||||||
|
|
||||||
syntax = "proto2";
|
syntax = "proto3";
|
||||||
package sandbox2;
|
package sandbox2;
|
||||||
|
|
||||||
message CommsTestMsg {
|
message CommsTestMsg {
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
syntax = "proto2";
|
syntax = "proto3";
|
||||||
package sandbox2;
|
package sandbox2;
|
||||||
|
|
||||||
message LogMessage {
|
message LogMessage {
|
||||||
required int32 severity = 1;
|
optional int32 severity = 1;
|
||||||
required string path = 2;
|
optional string path = 2;
|
||||||
required int32 line = 3;
|
optional int32 line = 3;
|
||||||
required string message = 4;
|
optional string message = 4;
|
||||||
required int32 pid = 5;
|
optional int32 pid = 5;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user