Project import generated by Copybara PiperOrigin-RevId: 300117791
diff --git a/js/experimental/benchmarks/code_size/kernel/all_types.js b/js/experimental/benchmarks/code_size/kernel/all_types.js index 218a4b9..39b0b61 100644 --- a/js/experimental/benchmarks/code_size/kernel/all_types.js +++ b/js/experimental/benchmarks/code_size/kernel/all_types.js
@@ -6,7 +6,7 @@ const ByteString = goog.require('protobuf.ByteString'); const Int64 = goog.require('protobuf.Int64'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const TestMessage = goog.require('protobuf.testing.binary.TestMessage'); const {ensureCommonBaseLine} = goog.require('protobuf.benchmark.codeSize.codeSizeBase');
diff --git a/js/experimental/benchmarks/code_size/kernel/popular_types.js b/js/experimental/benchmarks/code_size/kernel/popular_types.js index fb02622..a593e4b 100644 --- a/js/experimental/benchmarks/code_size/kernel/popular_types.js +++ b/js/experimental/benchmarks/code_size/kernel/popular_types.js
@@ -20,7 +20,7 @@ goog.module('protobuf.benchmark.KernelCodeSizeBenchmarkPopularTypes'); const Int64 = goog.require('protobuf.Int64'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const TestMessage = goog.require('protobuf.testing.binary.TestMessage'); const {ensureCommonBaseLine} = goog.require('protobuf.benchmark.codeSize.codeSizeBase');
diff --git a/js/experimental/runtime/kernel/conformance/conformance_request.js b/js/experimental/runtime/kernel/conformance/conformance_request.js index c9f70af..e7bc41e 100644 --- a/js/experimental/runtime/kernel/conformance/conformance_request.js +++ b/js/experimental/runtime/kernel/conformance/conformance_request.js
@@ -3,7 +3,7 @@ */ goog.module('proto.conformance.ConformanceRequest'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const WireFormat = goog.require('proto.conformance.WireFormat'); /**
diff --git a/js/experimental/runtime/kernel/conformance/conformance_response.js b/js/experimental/runtime/kernel/conformance/conformance_response.js index 3711f84..bc873ce 100644 --- a/js/experimental/runtime/kernel/conformance/conformance_response.js +++ b/js/experimental/runtime/kernel/conformance/conformance_response.js
@@ -4,7 +4,7 @@ goog.module('proto.conformance.ConformanceResponse'); const ByteString = goog.require('protobuf.ByteString'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); /** * Handwritten code of conformance.ConformanceResponse.
diff --git a/js/experimental/runtime/kernel/conformance/test_all_types_proto2.js b/js/experimental/runtime/kernel/conformance/test_all_types_proto2.js index 34336ee..e8a9395 100644 --- a/js/experimental/runtime/kernel/conformance/test_all_types_proto2.js +++ b/js/experimental/runtime/kernel/conformance/test_all_types_proto2.js
@@ -4,7 +4,7 @@ goog.module('proto.conformance.TestAllTypesProto2'); const InternalMessage = goog.require('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); /** * Handwritten code of conformance.TestAllTypesProto2.
diff --git a/js/experimental/runtime/kernel/conformance/test_all_types_proto3.js b/js/experimental/runtime/kernel/conformance/test_all_types_proto3.js index 645026b..66ca2c6 100644 --- a/js/experimental/runtime/kernel/conformance/test_all_types_proto3.js +++ b/js/experimental/runtime/kernel/conformance/test_all_types_proto3.js
@@ -4,7 +4,7 @@ goog.module('proto.conformance.TestAllTypesProto3'); const InternalMessage = goog.require('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); /** * Handwritten code of conformance.TestAllTypesProto3.
diff --git a/js/experimental/runtime/kernel/internal_message.js b/js/experimental/runtime/kernel/internal_message.js index 2e85ebd..b5f927c 100644 --- a/js/experimental/runtime/kernel/internal_message.js +++ b/js/experimental/runtime/kernel/internal_message.js
@@ -4,7 +4,7 @@ */ goog.module('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.requireType('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.requireType('protobuf.runtime.Kernel'); /** * Interface that needs to be implemented by messages implemented with the
diff --git a/js/experimental/runtime/kernel/lazy_accessor.js b/js/experimental/runtime/kernel/lazy_accessor.js index fe1f8ef..efcbe9e 100644 --- a/js/experimental/runtime/kernel/lazy_accessor.js +++ b/js/experimental/runtime/kernel/lazy_accessor.js
@@ -12,7 +12,7 @@ * fields), LazyAccessor will only need the full type information of used * fields. */ -goog.module('protobuf.binary.LazyAccessor'); +goog.module('protobuf.runtime.Kernel'); const BufferDecoder = goog.require('protobuf.binary.BufferDecoder'); const ByteString = goog.require('protobuf.ByteString');
diff --git a/js/experimental/runtime/kernel/lazy_accessor_compatibility_test.js b/js/experimental/runtime/kernel/lazy_accessor_compatibility_test.js index d3eab20..e5e0cd2 100644 --- a/js/experimental/runtime/kernel/lazy_accessor_compatibility_test.js +++ b/js/experimental/runtime/kernel/lazy_accessor_compatibility_test.js
@@ -10,13 +10,13 @@ * by binary_json_conformance_suite. Ultimately all of the tests in this file * should be moved to binary_json_conformance_suite. */ -goog.module('protobuf.binary.LazyAccessorCompatibilityTest'); +goog.module('protobuf.runtime.KernelCompatibilityTest'); goog.setTestOnly(); const ByteString = goog.require('protobuf.ByteString'); const Int64 = goog.require('protobuf.Int64'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const TestMessage = goog.require('protobuf.testing.binary.TestMessage'); const {CHECK_CRITICAL_STATE} = goog.require('protobuf.internal.checks');
diff --git a/js/experimental/runtime/kernel/lazy_accessor_repeated_test.js b/js/experimental/runtime/kernel/lazy_accessor_repeated_test.js index 77c4c59..7dc42fa 100644 --- a/js/experimental/runtime/kernel/lazy_accessor_repeated_test.js +++ b/js/experimental/runtime/kernel/lazy_accessor_repeated_test.js
@@ -1,14 +1,14 @@ /** * @fileoverview Tests for repeated methods in lazy_accessor.js. */ -goog.module('protobuf.binary.LazyAccessorTest'); +goog.module('protobuf.runtime.KernelTest'); goog.setTestOnly(); const ByteString = goog.require('protobuf.ByteString'); const Int64 = goog.require('protobuf.Int64'); const InternalMessage = goog.require('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const TestMessage = goog.require('protobuf.testing.binary.TestMessage'); // Note to the reader: // Since the lazy accessor behavior changes with the checking level some of the
diff --git a/js/experimental/runtime/kernel/lazy_accessor_test.js b/js/experimental/runtime/kernel/lazy_accessor_test.js index 1a5532b..fdce1a0 100644 --- a/js/experimental/runtime/kernel/lazy_accessor_test.js +++ b/js/experimental/runtime/kernel/lazy_accessor_test.js
@@ -1,14 +1,14 @@ /** * @fileoverview Tests for lazy_accessor.js. */ -goog.module('protobuf.binary.LazyAccessorTest'); +goog.module('protobuf.runtime.KernelTest'); goog.setTestOnly(); const ByteString = goog.require('protobuf.ByteString'); const Int64 = goog.require('protobuf.Int64'); const InternalMessage = goog.require('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); const TestMessage = goog.require('protobuf.testing.binary.TestMessage'); // Note to the reader: // Since the lazy accessor behavior changes with the checking level some of the
diff --git a/js/experimental/runtime/testing/binary/test_message.js b/js/experimental/runtime/testing/binary/test_message.js index 8af6c38..7f463bb 100644 --- a/js/experimental/runtime/testing/binary/test_message.js +++ b/js/experimental/runtime/testing/binary/test_message.js
@@ -6,7 +6,7 @@ const ByteString = goog.require('protobuf.ByteString'); const Int64 = goog.require('protobuf.Int64'); const InternalMessage = goog.require('protobuf.binary.InternalMessage'); -const LazyAccessor = goog.require('protobuf.binary.LazyAccessor'); +const LazyAccessor = goog.require('protobuf.runtime.Kernel'); /** * A protobuf message implemented as a LazyAccessor wrapper.