Interface AvroProto.AvroSchemaOrBuilder (3.11.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
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.