public com.alipay.sofa.jraft.entity.EnumOutter.ReadOnlyType getReadOnlyOptions() {
            com.alipay.sofa.jraft.entity.EnumOutter.ReadOnlyType result = com.alipay.sofa.jraft.entity.EnumOutter.ReadOnlyType
                .valueOf(readOnlyOptions_);
            return result == null ? com.alipay.sofa.jraft.entity.EnumOutter.ReadOnlyType.READ_ONLY_SAFE : result;
        }
<code>optional .jraft.ReadOnlyType readOnlyOptions = 5;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcRequests.java