public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupId_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serverId_);
            }
            for (int i = 0; i < entries_.size(); i++) {
                output.writeBytes(3, entries_.get(i));
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 4, peerId_);
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                output.writeEnum(5, readOnlyOptions_);
            }
            unknownFields.writeTo(output);
        }
<code>optional .jraft.ReadOnlyType readOnlyOptions = 5;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcRequests.java