Class GenericProtobufNativeRecord
java.lang.Object
org.apache.pulsar.client.impl.schema.generic.GenericProtobufNativeRecord
- All Implemented Interfaces:
GenericObject,GenericRecord
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGenericProtobufNativeRecord(byte[] schemaVersion, com.google.protobuf.Descriptors.Descriptor msgDesc, List<Field> fields, com.google.protobuf.DynamicMessage record) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DynamicMessagebyte[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSchemaVersionin interfaceGenericRecord
-
getFields
- Specified by:
getFieldsin interfaceGenericRecord
-