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, leaderId_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                output.writeBool(3, onlyAlive_);
            }
            unknownFields.writeTo(output);
        }
<code>optional bool only_alive = 3 [default = false];</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/CliRequests.java