private void setMaxDistance(int value) {
        bitField0_ |= 0x00000002;
        maxDistance_ = value;
    }
<code>optional int32 max_distance = 4;</code>

@param value The maxDistance to set.
turms-client-kotlin/src/main/java/im/turms/client/model/proto/request/user/QueryNearbyUsersRequest.java