- * <p>
- *
- * To define your own payload do the following,
- * <ol>
- * <li>Create your own protocol buffer message which extends the AppendEntries Payload</li>
- * <li>Extend this Payload class</li>
- * <li>Implement encode</li>
- * <li>Implement decode</li>
- * </ol>
- *
- * Your own protocol buffer message can be create like so, <br/>
- * <pre>
- * {@code
- *
- * import "AppendEntriesMessages.proto";
- *
- * package org.opendaylight.controller.cluster.raft;
- *
- * option java_package = "org.opendaylight.controller.cluster.raft.protobuff.messages";
- * option java_outer_classname = "MockPayloadMessages";
- *
- * extend AppendEntries.ReplicatedLogEntry.Payload {
- * optional string value = 2;
- * }
- * }
- * </pre>
- *