public Builder setType(com.alipay.sofa.jraft.entity.EnumOutter.EntryType value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000001;
                type_ = value.getNumber();
                onChanged();
                return this;
            }
<code>required .jraft.EntryType type = 1;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/codec/v2/LogOutter.java