Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionThis class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.ExtendableMessageOrBuilder.
-
Deprecated ClassesClassDescriptionThis class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage instead.This class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.Builder instead.This class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.ExtendableBuilder instead.This class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.ExtendableMessage.This class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.ExtendableMessage.ExtensionWriter instead.This class is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.FieldAccessorTable instead.This method is deprecated, and slated for removal in the next Java breaking change (5.x). Users should update gencode to >= 4.26.x which uses GeneratedMessage.UnusedPrivateParameter instead.This class is deprecated, and slated for removal in the next breaking change. Users should update gencode to >= 4.26.x which replaces RepeatedFieldBuilderV3 with RepeatedFieldBuilder.This class is deprecated, and slated for removal in the next breaking change. Users should update gencode to >= 4.26.x which replaces SingleFieldBuilderV3 with SingleFieldBuilder.use
Internal.ProtobufList.makeImmutable()
instead.Consider using the (newer)dev.enola.common.io.object.jackson.YamlObjectReaderWriter
instead.
-
Deprecated Exception ClassesException ClassDescriptionThis exception is unused and will be removed in the next breaking release (v5.x.x).
-
Deprecated Record Classes
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionInstead, call
byteString.substring(sourceOffset, sourceOffset + numberToCopy).copyTo(target, targetOffset)
UnknownFieldSet.Builder now implements MessageLite.Builder, so you can just callCodedInputStream.readGroup(int, com.google.protobuf.MessageLite.Builder, com.google.protobuf.ExtensionRegistryLite)
.useUnknownFieldSet
orUnknownFieldSetLite
to skip to an output stream.groups are deprecated.useCodedOutputStream.computeUInt32SizeNoTag(int)
instead.useCodedOutputStream.computeUInt64SizeNoTag(long)
instead.the size parameter is no longer used since use of an internal buffer is useless (and wasteful) when writing to aByteBuffer
. UseCodedOutputStream.newInstance(ByteBuffer)
instead.groups are deprecated.groups are deprecated.UseCodedOutputStream.writeFixed32NoTag(int)
instead.UseCodedOutputStream.writeFixed64NoTag(long)
instead.useCodedOutputStream.writeUInt32NoTag(int)
instead.useCodedOutputStream.writeUInt64NoTag(long)
instead.google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder.getDeprecatedLegacyJsonFieldConflicts()google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0com.google.protobuf.DescriptorProtos.MessageOptionsOrBuilder.hasDeprecatedLegacyJsonFieldConflicts()google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts is deprecated. See google/protobuf/descriptor.proto;l=0use newBuilder().mergeFrom() insteadcom.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(Descriptors.FieldDescriptor, Object) Usethis.emittingSingleLine(true).printFieldToString(FieldDescriptor, Object)
Usethis.emittingSingleLine(true).printToString(MessageOrBuilder)
Usethis.emittingSingleLine(true).printToString(UnknownFieldSet)
Useprinter().emittingSingleLine(true).printToString(MessageOrBuilder)
This method is deprecated, and slated for removal in the next Java breaking change (5.x). PreferJsonFormat.Printer.alwaysPrintFieldsWithNoPresence()
Replace withDataResource.of(String, MediaType)
Replace withDataResource.of(String)
Normally, this should be able to be replaced with hasCharsEqualTo now?UsePredicatesObjects.get(String, Class)
instead.This method violates some GRPC class encapsulation and should not be used. If you must know whether a Context is the current context, check whether it is the same object returned byContext.current()
.
-
Deprecated ConstructorsConstructorDescriptionThe static factory method should be preferred.