1010import com .google .protobuf .Descriptors .Descriptor ;
1111import com .google .protobuf .Descriptors .FieldDescriptor ;
1212import com .google .protobuf .Descriptors .OneofDescriptor ;
13+ import com .google .protobuf .Internal .BooleanList ;
14+ import com .google .protobuf .Internal .DoubleList ;
15+ import com .google .protobuf .Internal .FloatList ;
16+ import com .google .protobuf .Internal .IntList ;
17+ import com .google .protobuf .Internal .LongList ;
1318import java .util .List ;
1419
1520/**
@@ -36,6 +41,46 @@ protected GeneratedMessageV3(Builder<?> builder) {
3641 super (builder );
3742 }
3843
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 uses makeMutableCopy() instead.
46+ */
47+ @ Deprecated
48+ protected static IntList mutableCopy (IntList list ) {
49+ return makeMutableCopy (list );
50+ }
51+
52+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
53+ * (5.x). Users should update gencode to >= 4.26.x which uses makeMutableCopy() instead.
54+ */
55+ @ Deprecated
56+ protected static LongList mutableCopy (LongList list ) {
57+ return makeMutableCopy (list );
58+ }
59+
60+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
61+ * (5.x). Users should update gencode to >= 4.26.x which uses makeMutableCopy() instead.
62+ */
63+ @ Deprecated
64+ protected static FloatList mutableCopy (FloatList list ) {
65+ return makeMutableCopy (list );
66+ }
67+
68+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
69+ * (5.x). Users should update gencode to >= 4.26.x which uses makeMutableCopy() instead.
70+ */
71+ @ Deprecated
72+ protected static DoubleList mutableCopy (DoubleList list ) {
73+ return makeMutableCopy (list );
74+ }
75+
76+ /* @deprecated This method is deprecated, and slated for removal in the next Java breaking change
77+ * (5.x). Users should update gencode to >= 4.26.x which uses makeMutableCopy() instead.
78+ */
79+ @ Deprecated
80+ protected static BooleanList mutableCopy (BooleanList list ) {
81+ return makeMutableCopy (list );
82+ }
83+
3984 /* Overrides abstract GeneratedMessage.internalGetFieldAccessorTable().
4085 *
4186 * @deprecated This method is deprecated, and slated for removal in the next Java breaking change
0 commit comments