@@ -41,6 +41,41 @@ protected GeneratedMessageV3(Builder<?> builder) {
4141 super (builder );
4242 }
4343
44+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
45+ * (5.x). Users should update gencode to >= 4.26.x which no longer uses this.
46+ */
47+ protected static IntList newIntList () {
48+ return new IntArrayList ();
49+ }
50+
51+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
52+ * (5.x). Users should update gencode to >= 4.26.x which no longer uses this.
53+ */
54+ protected static LongList newLongList () {
55+ return new LongArrayList ();
56+ }
57+
58+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
59+ * (5.x). Users should update gencode to >= 4.26.x which no longer uses this.
60+ */
61+ protected static FloatList newFloatList () {
62+ return new FloatArrayList ();
63+ }
64+
65+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
66+ * (5.x). Users should update gencode to >= 4.26.x which no longer uses this.
67+ */
68+ protected static DoubleList newDoubleList () {
69+ return new DoubleArrayList ();
70+ }
71+
72+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
73+ * (5.x). Users should update gencode to >= 4.26.x which no longer uses this.
74+ */
75+ protected static BooleanList newBooleanList () {
76+ return new BooleanArrayList ();
77+ }
78+
4479 /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
4580 * (5.x). Users should update gencode to >= 4.26.x which uses makeMutableCopy() instead.
4681 */
0 commit comments