Interface AvroSchemaOrBuilder (2.47.0)

public interface 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.