Interface AvroProto.AvroSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AvroProto.AvroSchema
,AvroProto.AvroSchema.Builder
- Enclosing class:
- AvroProto
public static interface AvroProto.AvroSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSchema()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.htmlcom.google.protobuf.ByteString
getSchemaBytes()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSchema
String getSchema()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
- Returns:
- The schema.
-
getSchemaBytes
com.google.protobuf.ByteString getSchemaBytes()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
- Returns:
- The bytes for schema.
-
-