Interface AvroSchemaOrBuilder (3.6.1)

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
Type Description
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
Type Description
ByteString

The bytes for schema.