| Modifier and Type | Field and Description |
|---|---|
Pipe.Schema<java.lang.Object> |
pipeSchema
This pipe schema delegates to another schema derived from the input.
|
IdStrategy |
strategy |
| Constructor and Description |
|---|
DerivativeSchema(IdStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doMergeFrom(Input input,
Schema<java.lang.Object> derivedSchema,
java.lang.Object owner) |
java.lang.String |
getFieldName(int number) |
int |
getFieldNumber(java.lang.String name) |
boolean |
isInitialized(java.lang.Object owner) |
void |
mergeFrom(Input input,
java.lang.Object owner)
Delegates to the schema derived from the input.
|
java.lang.String |
messageFullName() |
java.lang.String |
messageName() |
java.lang.Object |
newMessage() |
java.lang.Class<? super java.lang.Object> |
typeClass() |
void |
writeTo(Output output,
java.lang.Object value)
Delegates to the schema derived from the
value. |
public final IdStrategy strategy
public final Pipe.Schema<java.lang.Object> pipeSchema
public DerivativeSchema(IdStrategy strategy)
public java.lang.String getFieldName(int number)
getFieldName in interface Schema<java.lang.Object>public int getFieldNumber(java.lang.String name)
getFieldNumber in interface Schema<java.lang.Object>public boolean isInitialized(java.lang.Object owner)
isInitialized in interface Schema<java.lang.Object>public java.lang.String messageFullName()
messageFullName in interface Schema<java.lang.Object>public java.lang.String messageName()
messageName in interface Schema<java.lang.Object>public java.lang.Object newMessage()
newMessage in interface Schema<java.lang.Object>public java.lang.Class<? super java.lang.Object> typeClass()
public void mergeFrom(Input input, java.lang.Object owner) throws java.io.IOException
owner owns the message (polymorphic) that is tied to this schema.public void writeTo(Output output, java.lang.Object value) throws java.io.IOException
value.Copyright © 2009-2023. All Rights Reserved.