public com.alipay.sofa.jraft.entity.EnumOutter.EntryType getType() {
            com.alipay.sofa.jraft.entity.EnumOutter.EntryType result = com.alipay.sofa.jraft.entity.EnumOutter.EntryType
                .valueOf(type_);
            return result == null ? com.alipay.sofa.jraft.entity.EnumOutter.EntryType.ENTRY_TYPE_UNKNOWN : result;
        }
<code>required .jraft.EntryType type = 1;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/codec/v2/LogOutter.java