From cff231eed6f29560521c12651925897d0eac81a9 Mon Sep 17 00:00:00 2001 From: tf-metadata-team Date: Tue, 3 Sep 2024 11:35:29 -0700 Subject: [PATCH] Automated g4 rollback of changelist 669103619. *** Reason for rollback *** Broke TAP tests the LegoML project *** Original change description *** Mark message types as requiring the go/jspb object format methods. This CL marks types that use the JSPB object format accessors (see go/jspb-api-gotchas#objects) so that we do not remove them in the future. This is a backwards compatibility option and will represent no immediate change. The implementations of these methods are large and expensive for the JSCompiler to process; so we intend to limit their generation to improve compilation performance. See go/lsc-constrain-jspb-object-format-us... *** PiperOrigin-RevId: 670640538 --- tensorflow_metadata/proto/v0/schema.proto | 1 + tensorflow_metadata/proto/v0/statistics.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/tensorflow_metadata/proto/v0/schema.proto b/tensorflow_metadata/proto/v0/schema.proto index 4d9ba62..e8d31b8 100644 --- a/tensorflow_metadata/proto/v0/schema.proto +++ b/tensorflow_metadata/proto/v0/schema.proto @@ -20,6 +20,7 @@ package tensorflow.metadata.v0; import "google/protobuf/any.proto"; import "tensorflow_metadata/proto/v0/derived_feature.proto"; import "tensorflow_metadata/proto/v0/path.proto"; + // GOOGLE-LEGACY option jspb_use_correct_proto2_semantics = false; option cc_enable_arenas = true; option java_package = "org.tensorflow.metadata.v0"; diff --git a/tensorflow_metadata/proto/v0/statistics.proto b/tensorflow_metadata/proto/v0/statistics.proto index 21162c2..79c785f 100644 --- a/tensorflow_metadata/proto/v0/statistics.proto +++ b/tensorflow_metadata/proto/v0/statistics.proto @@ -23,6 +23,7 @@ package tensorflow.metadata.v0; import "google/protobuf/any.proto"; import "tensorflow_metadata/proto/v0/derived_feature.proto"; import "tensorflow_metadata/proto/v0/path.proto"; + option cc_enable_arenas = true; option java_package = "org.tensorflow.metadata.v0"; option java_multiple_files = true;