public Builder setReadOnlyOptions(com.alipay.sofa.jraft.entity.EnumOutter.ReadOnlyType value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000010;
                readOnlyOptions_ = value.getNumber();
                onChanged();
                return this;
            }
<code>optional .jraft.ReadOnlyType readOnlyOptions = 5;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcRequests.java