public class ProtoMessageWritable<T extends com.google.protobuf.MessageLite> extends Object implements org.apache.hadoop.io.Writable
| Modifier and Type | Method and Description |
|---|---|
T |
getMessage() |
void |
readFields(DataInput in) |
void |
setMessage(T message) |
void |
write(DataOutput out) |
public T getMessage()
public void setMessage(T message)
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.