Class GenericProtobufNativeRecord
java.lang.Object
org.apache.pulsar.client.impl.schema.generic.GenericProtobufNativeRecord
- All Implemented Interfaces:
GenericObject
,GenericRecord
-
Field Summary
Modifier and TypeFieldDescriptionprotected final byte[]
-
Constructor Summary
ModifierConstructorDescriptionprotected
GenericProtobufNativeRecord
(byte[] schemaVersion, com.google.protobuf.Descriptors.Descriptor msgDesc, List<Field> fields, com.google.protobuf.DynamicMessage record) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DynamicMessage
byte[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pulsar.client.api.schema.GenericRecord
getField
-
Field Details
-
schemaVersion
protected final byte[] schemaVersion -
fields
-
-
Constructor Details
-
GenericProtobufNativeRecord
-
-
Method Details
-
getField
-
getProtobufRecord
public com.google.protobuf.DynamicMessage getProtobufRecord() -
getNativeObject
-
getSchemaType
-
getSchemaVersion
public byte[] getSchemaVersion()- Specified by:
getSchemaVersion
in interfaceGenericRecord
-
getFields
- Specified by:
getFields
in interfaceGenericRecord
-