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
Modifier and TypeMethodDescriptionJson serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.htmlcom.google.protobuf.ByteStringJson serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.htmlMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-