public abstract static class ArraySchemas.Base extends PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowNullArrayElement |
protected PolymorphicSchema.Handler |
handler |
strategy| Constructor and Description |
|---|
Base(IdStrategy strategy,
PolymorphicSchema.Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldName(int number) |
int |
getFieldNumber(java.lang.String name) |
void |
mergeFrom(Input input,
java.lang.Object owner) |
java.lang.String |
messageFullName() |
java.lang.String |
messageName() |
protected abstract java.lang.Object |
readFrom(Input input,
java.lang.Object owner) |
protected void |
setValue(java.lang.Object value,
java.lang.Object owner)
Set the value to the owner.
|
getPipeSchema, isInitialized, newMessage, typeClassprotected final PolymorphicSchema.Handler handler
protected final boolean allowNullArrayElement
public Base(IdStrategy strategy, PolymorphicSchema.Handler handler)
public java.lang.String getFieldName(int number)
public int getFieldNumber(java.lang.String name)
public java.lang.String messageFullName()
public java.lang.String messageName()
protected void setValue(java.lang.Object value,
java.lang.Object owner)
PolymorphicSchemasetValue in class PolymorphicSchemapublic void mergeFrom(Input input, java.lang.Object owner) throws java.io.IOException
java.io.IOExceptionprotected abstract java.lang.Object readFrom(Input input, java.lang.Object owner) throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2023. All Rights Reserved.