Migration of remaining protobufs from proto2 to proto3

PiperOrigin-RevId: 434973223
Change-Id: I5518aa3944cab94d33ce0538bed8ee82f90d4b3a
This commit is contained in:
Oliver Kunz 2022-03-16 00:43:16 -07:00 committed by Copybara-Service
parent 6d5f257711
commit ee11d9fdb7
4 changed files with 14 additions and 14 deletions

View File

@ -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;
} }

View File

@ -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;
} }

View File

@ -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 {

View File

@ -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;
} }