public class GenericProtobufNativeRecord extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<Field> |
fields |
protected byte[] |
schemaVersion |
| Modifier | Constructor and Description |
|---|---|
protected |
GenericProtobufNativeRecord(byte[] schemaVersion,
com.google.protobuf.Descriptors.Descriptor msgDesc,
List<Field> fields,
com.google.protobuf.DynamicMessage record) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getField(String fieldName) |
List<Field> |
getFields() |
Object |
getNativeObject() |
com.google.protobuf.DynamicMessage |
getProtobufRecord() |
SchemaType |
getSchemaType() |
byte[] |
getSchemaVersion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFieldpublic com.google.protobuf.DynamicMessage getProtobufRecord()
public Object getNativeObject()
public SchemaType getSchemaType()
public byte[] getSchemaVersion()
getSchemaVersion in interface GenericRecordpublic List<Field> getFields()
getFields in interface GenericRecordCopyright © 2017–2021 Apache Software Foundation. All rights reserved.