Class Context
java.lang.Object
io.confluent.kafka.schemaregistry.protobuf.diff.Context
- Direct Known Subclasses:
ProtobufSchemaUtils.FormatContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassclassstatic interfaceclassstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDifference(Difference.Type type) voidaddDifference(String attribute, Difference.Type type) voidaddDifferences(List<Difference> differences) voidcollectTypeInfo(ProtobufSchema schema, boolean isOriginal) enterSchema(com.squareup.wire.schema.internal.parser.MessageElement schema) getExtendField(String name, boolean isOriginal) getExtendFieldForFullName(String fullName, boolean isOriginal) getTypeForFullName(String fullName, boolean isOriginal) boolean<T> Stringresolve(Context.Resolver<T> resolver, String name, boolean isOriginal) <T> kotlin.Pair<String,T> resolveFull(Context.Resolver<T> resolver, String name, boolean isOriginal) voidsetFullName(String name) voidsetPackageName(String packageName, boolean isOriginal)
-
Constructor Details
-
Context
public Context() -
Context
-
-
Method Details
-
getSubcontext
-
collectTypeInfo
-
getType
-
getExtendField
-
setPackageName
-
setFullName
-
enterPath
-
enterName
-
enterSchema
public Context.SchemaScope enterSchema(com.squareup.wire.schema.internal.parser.MessageElement schema) -
resolve
-
resolve
-
resolveFull
public <T> kotlin.Pair<String,T> resolveFull(Context.Resolver<T> resolver, String name, boolean isOriginal) -
getTypeForFullName
-
getExtendFieldForFullName
public Context.ExtendFieldElementInfo getExtendFieldForFullName(String fullName, boolean isOriginal) -
isCompatible
public boolean isCompatible() -
getDifferences
-
addDifference
-
addDifference
-
addDifferences
-