Interface AvroProto.AvroSchemaOrBuilder (2.31.0)

public static interface AvroProto.AvroSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSchema()

public abstract String getSchema()

Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html

string schema = 1;

Returns
TypeDescription
String

The schema.

getSchemaBytes()

public abstract ByteString getSchemaBytes()

Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html

string schema = 1;

Returns
TypeDescription
ByteString

The bytes for schema.