Class CommonConstants
java.lang.Object
io.confluent.kafka.schemaregistry.type.logical.protobuf.CommonConstants
Common constants used for converting Protobuf schema.
-
Field Details
-
FLINK_WRAPPER
- See Also:
-
FLINK_WRAPPER_FIELD_NAME
- See Also:
-
LOGICAL_NAMED_PROP
Marker placed on a nested message's or enum'sMetaparams to indicate that it corresponds to a user-declared named type — not a writer-synthesized wrapper. The reader uses this to lift the nested type intolocalNamedTypes(marked) rather than inlining it (unmarked).Mirror-image of Avro/JSON's
logical.anonymous: those formats default to "lift as named" and use the marker to flag wrappers, because Avro records and JSON$defsentries are inherently name-addressed. Proto's wire format admits both nested-named and synthesized-anonymous structures with no native distinction, so it defaults to "inline" and uses this marker to flag the user-declared kind.The marker lives in the
logical.*namespace, so the reader'sisUserParamfilter strips it automatically and it never leaks into the LT model's user-visible params.- See Also:
-